Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Add ViewCell ContextActions #102

Open
mg-93 opened this issue Sep 5, 2018 · 1 comment
Open

Add ViewCell ContextActions #102

mg-93 opened this issue Sep 5, 2018 · 1 comment

Comments

@mg-93
Copy link

mg-93 commented Sep 5, 2018

How to add context action to cells?
This doesn't work:

<dg:DataGrid ItemsSource="{Binding ImpList}" SelectionEnabled="True" SelectedItem="{Binding SelectedImp}" ItemSelected="DataGrid_ItemSelected">
<dg:DataGridColumn Title="Org" PropertyName="NameOrg" Width="1.5*">
    <dg:DataGridColumn.CellTemplate>
        <DataTemplate>
            <ViewCell>
                <ViewCell.ContextActions>
                    <MenuItem Text="Delete" IsDestructive="True" />
                    <MenuItem Text="Photos" IsDestructive="True" />
                </ViewCell.ContextActions>
            </ViewCell>
        </DataTemplate>
    </dg:DataGridColumn.CellTemplate>
</dg:DataGridColumn>
@akgulebubekir
Copy link
Owner

Unfortunately this feature does not supported yet. You might implement and create pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants