DockableToolBarHostViewModel Class
Represents a view model for a dockable toolbar host control.
public class DockableToolBarHostViewModel : ObservableObjectBase, IHasTag
- Inheritance:
- object ObservableObjectBase object
- Implements:
- IHasTag
Constructors
DockableToolBarHostViewModel()
Initializes an instance of the class.
public DockableToolBarHostViewModel()
Properties
CanToolBarsFloat
Gets or sets whether toolbars can float.
public bool CanToolBarsFloat { get; set; }
Property Value
- bool:
true
if toolbars can float; otherwise,false
. The default value istrue
.
ControlVariants
Gets or sets the collection of variant size transitions to apply to all controls within the toolbars.
public VariantCollection ControlVariants { get; set; }
Property Value
- VariantCollection:
The collection of variant size transitions to apply to all controls within the toolbars.
ItemContainerTemplateSelector
Gets or sets the BarControlTemplateSelector that creates UI controls for bar control view models.
public BarControlTemplateSelector ItemContainerTemplateSelector { get; set; }
Property Value
- BarControlTemplateSelector:
The BarControlTemplateSelector that creates UI controls for bar control view models.
LineSpacing
Gets or sets the spacing between lines.
public double LineSpacing { get; set; }
Property Value
- double:
The spacing between lines. The default value is
1.0
.
Tag
Gets or sets a user-defined object attached to the control.
ToolBarItemSpacing
Gets or sets the amount of spacing between toolbar items.
public double ToolBarItemSpacing { get; set; }
Property Value
- double:
The amount of spacing between toolbar items. The default value is
1.0
.
ToolBarSpacing
Gets or sets the spacing between toolbars on the same line.
public double ToolBarSpacing { get; set; }
Property Value
- double:
The spacing between toolbars on the same line. The default value is
1.0
.
ToolBars
Gets the collection of dockable toolbars managed by the host.
public ObservableCollection<DockableToolBarViewModel> ToolBars { get; }
Property Value
- ObservableCollection<DockableToolBarViewModel>:
The collection of dockable toolbars managed by the host.
ToolBarsHaveGrippers
Gets or sets the default setting for whether toolbars have grippers.
public bool ToolBarsHaveGrippers { get; set; }
Property Value
- bool:
true
if toolbars have grippers by default; otherwise,false
. The default value istrue
.
ToolBarsHaveOptionsButtons
Gets or sets the default setting for whether toolbars have options buttons.
public bool ToolBarsHaveOptionsButtons { get; set; }
Property Value
- bool:
true
if toolbars have options buttons by default; otherwise,false
. The default value istrue
.
UserInterfaceDensity
Gets or sets a UserInterfaceDensity that indicates how compact or spacious the UI should appear.
public UserInterfaceDensity UserInterfaceDensity { get; set; }
Property Value
- UserInterfaceDensity:
A UserInterfaceDensity that indicates how compact or spacious the UI should appear. The default value is Compact.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()