In This Article

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

Indicates whether toolbars can float.

public bool CanToolBarsFloat { get; set; }

Property Value

bool:

true if toolbars can float; otherwise, false. The default value is true.

ControlVariants

The collection of variant size transitions to apply to all controls within the toolbars.

public VariantCollection? ControlVariants { get; set; }

Property Value

VariantCollection

ItemContainerTemplateSelector

The BarControlTemplateSelector that creates UI controls for bar control view models.

public BarControlTemplateSelector ItemContainerTemplateSelector { get; set; }

Property Value

BarControlTemplateSelector

LineSpacing

The spacing between lines.

public double LineSpacing { get; set; }

Property Value

double:

The default value is 1.0.

Tag

A user-defined object attached to the control.

public object? Tag { get; set; }

Property Value

object

ToolBarItemSpacing

The amount of spacing between toolbar items.

public double ToolBarItemSpacing { get; set; }

Property Value

double:

The default value is 1.0.

ToolBarSpacing

The spacing between toolbars on the same line.

public double ToolBarSpacing { get; set; }

Property Value

double:

The default value is 1.0.

ToolBars

The collection of dockable toolbars managed by the host.

public ObservableCollection<DockableToolBarViewModel> ToolBars { get; }

Property Value

ObservableCollection<DockableToolBarViewModel>

ToolBarsHaveGrippers

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 is true.

ToolBarsHaveOptionsButtons

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 is true.

UserInterfaceDensity

A UserInterfaceDensity that indicates how compact or spacious the UI should appear.

public UserInterfaceDensity UserInterfaceDensity { get; set; }

Property Value

UserInterfaceDensity:

The default value is Compact.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods