TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jimmy Vens
NA
26
12k
Checkbox remain checked after getting the result
Dec 16 2020 3:57 AM
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
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<pnx:PnxCheckBox
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"
/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
This is my xaml. What i have to do in my view model.
Please help
Reply
Answers (
2
)
How To pass role information from Windows forms to its reference dlls.
how do I change font style of selected text ONLY in a rich text box?