BarSplitButtonViewModel Class
Represents a view model for a split button control within a bar control.
public class BarSplitButtonViewModel : BarPopupButtonViewModel, IHasKey, IHasVariantImages
- Inheritance:
- object ObservableObjectBase BarKeyedObjectViewModelBase BarPopupButtonViewModel object
- Derived:
- BarSplitToggleButtonViewModel
- Implements:
- IHasKey IHasVariantImages
Constructors
BarSplitButtonViewModel()
Initializes a new instance of the class.
public BarSplitButtonViewModel()
BarSplitButtonViewModel(string?)
Initializes a new instance of the class with the specified key. The label and key tip text are auto-generated.
public BarSplitButtonViewModel(string? key)
Parameter | Type | Description |
---|---|---|
key | string | A string that uniquely identifies the control. |
BarSplitButtonViewModel(string?, string?)
Initializes a new instance of the class with the specified key and label. The key tip text is auto-generated.
public BarSplitButtonViewModel(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 |
BarSplitButtonViewModel(string?, string?, string?)
Initializes a new instance of the class with the specified key, label, and key tip text.
public BarSplitButtonViewModel(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 |
BarSplitButtonViewModel(string?, string?, string?, ICommand?)
Initializes a new instance of the class with the specified key, label, key tip text, and command.
public BarSplitButtonViewModel(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. |
BarSplitButtonViewModel(string?, string?, ICommand?)
Initializes a new instance of the class with the specified key, label, and command. The key tip text is auto-generated.
public BarSplitButtonViewModel(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. |
BarSplitButtonViewModel(string?, ICommand?)
Initializes a new instance of the class with the specified key and command. The label and key tip text are auto-generated.
public BarSplitButtonViewModel(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. |
Properties
InputGesture
The input gesture to display in menu items and screen tips.
public KeyGesture? InputGesture { get; set; }
Property Value
- KeyGesture
IsInputGestureTextVisible
Indicates whether the input gesture text is allowed to be visible in the user interface.
StaysOpenOnClick
Indicates whether menus should try and remain open when the control is clicked.
Inherited Members
- BarPopupButtonViewModel.CanCloneToRibbonQuickAccessToolBar
- BarPopupButtonViewModel.Command
- BarPopupButtonViewModel.CommandParameter
- BarPopupButtonViewModel.Description
- BarPopupButtonViewModel.IsVisible
- BarPopupButtonViewModel.KeyTipText
- BarPopupButtonViewModel.Label
- BarPopupButtonViewModel.LargeIcon
- BarPopupButtonViewModel.MediumIcon
- BarPopupButtonViewModel.MenuItems
- BarPopupButtonViewModel.PopupOpeningCommand
- BarPopupButtonViewModel.SmallIcon
- BarPopupButtonViewModel.Title
- BarPopupButtonViewModel.ToolBarItemCollapseBehavior
- BarPopupButtonViewModel.ToolBarItemVariantBehavior
- BarPopupButtonViewModel.UseLargeMenuItem
- BarKeyedObjectViewModelBase.ToString()
- BarKeyedObjectViewModelBase.Key
- 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()