BarSplitToggleButtonViewModel Class
Represents a view model for a split toggle button control within a bar control.
public class BarSplitToggleButtonViewModel : BarSplitButtonViewModel, IHasKey, IHasTag, IHasVariantImages, ICheckable
- Inheritance:
- object ObservableObjectBase BarKeyedObjectViewModelBase BarPopupButtonViewModel BarSplitButtonViewModel object
- Implements:
- IHasKey IHasTag IHasVariantImages ICheckable
Constructors
BarSplitToggleButtonViewModel()
Initializes an instance of the class.
public BarSplitToggleButtonViewModel()
BarSplitToggleButtonViewModel(string?)
Initializes an instance of the class with the specified key. The label and key tip text are auto-generated.
public BarSplitToggleButtonViewModel(string? key)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
BarSplitToggleButtonViewModel(string?, string?)
Initializes an instance of the class with the specified key and label. The key tip text is auto-generated.
public BarSplitToggleButtonViewModel(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 |
BarSplitToggleButtonViewModel(string?, string?, string?)
Initializes an instance of the class with the specified key, label, and key tip text.
public BarSplitToggleButtonViewModel(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 |
BarSplitToggleButtonViewModel(string?, string?, string?, ICommand?)
Initializes an instance of the class with the specified key, label, key tip text, and command.
public BarSplitToggleButtonViewModel(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. |
BarSplitToggleButtonViewModel(string?, string?, ICommand?)
Initializes an instance of the class with the specified key, label, and command. The key tip text is auto-generated.
public BarSplitToggleButtonViewModel(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. |
BarSplitToggleButtonViewModel(string?, ICommand?)
Initializes an instance of the class with the specified key and command. The label and key tip text are auto-generated.
public BarSplitToggleButtonViewModel(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. |
BarSplitToggleButtonViewModel(RoutedCommand?)
Initializes an instance of the class with the specified RoutedCommand, also used to auto-generate a key, label, and key tip text.
public BarSplitToggleButtonViewModel(RoutedCommand? routedCommand)
| Parameter | Type | Description |
|---|---|---|
| routedCommand | RoutedCommand | The command to attach to the control. |
Properties
IsChecked
Indicates whether the control is checked.
Inherited Members
- BarSplitButtonViewModel.InputGestureText
- BarSplitButtonViewModel.IsInputGestureTextVisible
- BarSplitButtonViewModel.StaysOpenOnClick
- BarPopupButtonViewModel.CanCloneToRibbonQuickAccessToolBar
- BarPopupButtonViewModel.Command
- BarPopupButtonViewModel.CommandParameter
- BarPopupButtonViewModel.Description
- BarPopupButtonViewModel.InvocationFocusBehavior
- BarPopupButtonViewModel.IsVisible
- BarPopupButtonViewModel.KeyTipText
- BarPopupButtonViewModel.Label
- BarPopupButtonViewModel.LargeImageSource
- BarPopupButtonViewModel.MediumImageSource
- BarPopupButtonViewModel.MenuItems
- BarPopupButtonViewModel.PopupClosedCommand
- BarPopupButtonViewModel.PopupOpeningCommand
- BarPopupButtonViewModel.SmallImageSource
- BarPopupButtonViewModel.Title
- BarPopupButtonViewModel.ToolBarItemCollapseBehavior
- BarPopupButtonViewModel.ToolBarItemVariantBehavior
- BarPopupButtonViewModel.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()