In This Article

BarMainMenuViewModel Class

Represents a view model for a main menu control.

public class BarMainMenuViewModel : ObservableObjectBase, IHasTag
Inheritance:
object ObservableObjectBase object
Implements:
IHasTag

Constructors

BarMainMenuViewModel()

Initializes an instance of the class.

public BarMainMenuViewModel()

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

ObservableCollection<object>:

The collection of items in the control.

Tag

Gets or sets a user-defined object attached to the control.

public object Tag { get; set; }

Property Value

object

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members