BarCheckBoxViewModel Class
Represents a view model for a checkbox control within a bar control.
public class BarCheckBoxViewModel : BarToggleButtonViewModel, IHasKey, IHasTag, IHasVariantImages, ICheckable
- Inheritance:
- object ObservableObjectBase BarKeyedObjectViewModelBase BarButtonViewModel BarToggleButtonViewModel object
- Implements:
- IHasKey IHasTag IHasVariantImages ICheckable
Constructors
BarCheckBoxViewModel()
Initializes an instance of the class.
public BarCheckBoxViewModel()
BarCheckBoxViewModel(string?)
Initializes an instance of the class with the specified key. The label and key tip text are auto-generated.
public BarCheckBoxViewModel(string? key)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
BarCheckBoxViewModel(string?, string?)
Initializes an instance of the class with the specified key and label. The key tip text is auto-generated.
public BarCheckBoxViewModel(string? key, string? label)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
| label | string | The text label to display, which is auto-generated from the |
BarCheckBoxViewModel(string?, string?, string?)
Initializes an instance of the class with the specified key, label, and key tip text.
public BarCheckBoxViewModel(string? key, string? label, string? keyTipText)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
| label | string | The text label to display, which is auto-generated from the |
| keyTipText | string | The key tip text, which is auto-generated from the |
BarCheckBoxViewModel(string?, string?, string?, ICommand?)
Initializes an instance of the class with the specified key, label, key tip text, and command.
public BarCheckBoxViewModel(string? key, string? label, string? keyTipText, ICommand? command)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
| label | string | The text label to display, which is auto-generated from the |
| keyTipText | string | The key tip text, which is auto-generated from the |
| command | ICommand | The command to attach to the control. |
BarCheckBoxViewModel(string?, string?, ICommand?)
Initializes an instance of the class with the specified key, label, and command. The key tip text is auto-generated.
public BarCheckBoxViewModel(string? key, string? label, ICommand? command)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
| label | string | The text label to display, which is auto-generated from the |
| command | ICommand | The command to attach to the control. |
BarCheckBoxViewModel(string?, ICommand?)
Initializes an instance of the class with the specified key and command. The label and key tip text are auto-generated.
public BarCheckBoxViewModel(string? key, ICommand? command)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
| command | ICommand | The command to attach to the control. |
BarCheckBoxViewModel(RoutedCommand?)
Initializes an instance of the class with the specified RoutedCommand, also used to auto-generate a key, label, and key tip text.
public BarCheckBoxViewModel(RoutedCommand? routedCommand)
| Parameter | Type | Description |
|---|---|---|
| routedCommand | RoutedCommand | The command to attach to the control. |
Inherited Members
- BarToggleButtonViewModel.IsChecked
- BarButtonViewModel.CanCloneToRibbonQuickAccessToolBar
- BarButtonViewModel.Command
- BarButtonViewModel.CommandParameter
- BarButtonViewModel.Description
- BarButtonViewModel.InputGestureText
- BarButtonViewModel.InvocationFocusBehavior
- BarButtonViewModel.IsInputGestureTextVisible
- BarButtonViewModel.IsVisible
- BarButtonViewModel.KeyTipText
- BarButtonViewModel.Label
- BarButtonViewModel.LargeImageSource
- BarButtonViewModel.MediumImageSource
- BarButtonViewModel.SmallImageSource
- BarButtonViewModel.StaysOpenOnClick
- BarButtonViewModel.Title
- BarButtonViewModel.ToolBarItemCollapseBehavior
- BarButtonViewModel.ToolBarItemVariantBehavior
- BarButtonViewModel.UseLargeMenuItem
- BarKeyedObjectViewModelBase.ToString()
- BarKeyedObjectViewModelBase.Key
- BarKeyedObjectViewModelBase.Tag
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()