DockableToolBarViewModel Class
Represents a view model for a dockable toolbar control.
public class DockableToolBarViewModel : BarKeyedObjectViewModelBase, IHasKey, IHasTag
- Inheritance:
- object ObservableObjectBase BarKeyedObjectViewModelBase object
Constructors
DockableToolBarViewModel()
Initializes an instance of the class.
public DockableToolBarViewModel()
DockableToolBarViewModel(string?)
Initializes an instance of the class with the specified key. The title is auto-generated.
public DockableToolBarViewModel(string? key)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
DockableToolBarViewModel(string?, string?)
Initializes an instance of the class with the specified key and title.
public DockableToolBarViewModel(string? key, string? title)
| Parameter | Type | Description |
|---|---|---|
| key | string | A string that uniquely identifies the control. |
| title | string | The toolbar's title. |
Properties
HasGripper
Indicates whether the toolbar has a gripper.
public bool? HasGripper { get; set; }
Property Value
- bool?:
trueif the toolbar has a gripper; otherwise,false. The default value isnull, meaning inherit the value from the ToolBarsHaveGrippers property.
HasOptionsButton
Indicates whether the toolbar has an options button.
public bool? HasOptionsButton { get; set; }
Property Value
- bool?:
trueif the toolbar has an options button; otherwise,false. The default value isnull, meaning inherit the value from the ToolBarsHaveOptionsButtons property.
IsVisible
Indicates whether the control is currently visible.
Items
The collection of items in the control.
LineIndex
The index of the Placement line the toolbar is within.
Offset
The anchor offset of the toolbar within its line.
Placement
A Dock specifying the toolbar placement.
SortOrder
The toolbar's sort order within its Placement line.
Title
The toolbar's title.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- 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()