We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SelectedItem for CellSelection
I want to know how to implement SelectedItem property for CellSelection.
XAML below is working if i define HintsGridData.RowSelection.SelectedItem but i cant use SelectedItem for CellSelection. How to implement this?
<TreeDataGrid x:Name="resultGrid" Source="{Binding HintsGridData}" HorizontalAlignment="Stretch" BorderThickness="2" BorderBrush="Gray" CanUserResizeColumns="True" > <TreeDataGrid.ContextMenu> <ContextMenu> <MenuItem Header="Copy" Command="" /> <MenuItem Header="Execute" Command=""/> <MenuItem Header="Open in browser"/> <MenuItem Header="---"/> <MenuItem Header="Delete" Command="{Binding DeleteHintCommand}" CommandParameter="{ReflectionBinding HintsGridData.RowSelection.SelectedItem}" IsEnabled="{Binding IsGridEditable}"/> </ContextMenu> </TreeDataGrid.ContextMenu> </TreeDataGrid>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Implement SelectedItem for CellSelection
I want to know how to implement SelectedItem property for CellSelection.
XAML below is working if i define HintsGridData.RowSelection.SelectedItem but i cant use SelectedItem for CellSelection. How to implement this?
The text was updated successfully, but these errors were encountered: