<CheckBox Content="CheckBox"
Command="{Binding YourCommand}"
CommandParameter="{Binding IsChecked, RelativeSource={RelativeSource Self}}" />
More Related Contents:
- How to bind a command in WPF to a double click event handler of a control?
- Weird problem where Button does not get re-enabled unless the mouse is clicked
- INotifyPropertyChanged vs. DependencyProperty in ViewModel
- Pushing read-only GUI properties back into ViewModel
- How to bind WPF button to a command in ViewModelBase?
- Firing a double click event from a WPF ListView item using MVVM
- Open File Dialog MVVM
- What is a ViewModelLocator and what are its pros/cons compared to DataTemplates?
- How to correctly bind to a dependency property of a usercontrol in a MVVM framework
- WPF calling commands via events
- WPF MVVM TreeView SelectedItem
- Keyboard events in a WPF MVVM application?
- How to open a new window using MVVM Light Toolkit
- Grouping items in a ComboBox
- ItemsControl with multiple DataTemplates for a viewmodel
- WPF Grid as ItemsPanel for a list dynamically bound to an ItemsControl
- VirtualizingStackPanel + MVVM + multiple selection
- WPF Animation “Cannot freeze this Storyboard timeline tree for use across threads”
- Binding [VisualStateManager] view state to a MVVM viewmodel?
- Is Josh Smith’s implementation of the RelayCommand flawed?
- Prism Custom Confirmation Interaction
- Binding a WPF DataGridComboBoxColumn with MVVM
- WPF Events in ResourceDictionary for a ControlTemplate
- How to cancel an edit to an object using MVVM?
- MVVM and the TextBox’s SelectedText property
- InputBindings work only when focused
- Is MVVM pattern broken?
- Keybinding a RelayCommand
- MVVM binding command to contextmenu item
- typesafe NotifyPropertyChanged using linq expressions