Hi ,
I have a WPF MVVM application. i have a dialog box window which has checkbox in grid. When i check on the checkbox some functions happening. but again when i open the dialog box i want to show the checkbox checked.
XAML
- Command="{Binding CheckedChangedCell,Mode=TwoWay,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type DataGrid}}}"
- HorizontalAlignment="Right"
- IsChecked="{Binding Path=IsChecked, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
- Margin="7,0,5,0"
- VerticalAlignment="Center" />
This is my xaml. What i have to do in my view model.
Please help
Jimmy VensPosted Dec 16, 2020, 4:40 AM
Mageshwaran RPosted Dec 16, 2020, 4:33 AM