In This Article

StandaloneToolBarViewModel Class

Represents a view model for a standalone toolbar control.

public class StandaloneToolBarViewModel : ObservableObjectBase, INotifyPropertyChanged
Inheritance:
System.Object ObservableObjectBase Object

Constructors

StandaloneToolBarViewModel()

public StandaloneToolBarViewModel()

Properties

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.

Items

Gets the collection of items in the control.

public ObservableCollection<object> Items { get; }

Property Value

System.Collections.ObjectModel.ObservableCollection<System.Object>:

The collection of items in the control.

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 a string that represents the current object.

public override string ToString()

Returns

System.String:

A string that represents the current object.

Inherited Members