In This Article

RibbonBackstageViewModel Class

Represents a view model for a Backstage control within a ribbon.

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

Constructors

RibbonBackstageViewModel()

public RibbonBackstageViewModel()

Properties

ContentTemplateSelector

Gets or sets the System.Windows.Controls.DataTemplateSelector that picks a System.Windows.DataTemplate used to display Backstage tab content.

public DataTemplateSelector ContentTemplateSelector { get; set; }

Property Value

System.Windows.Controls.DataTemplateSelector:

The System.Windows.Controls.DataTemplateSelector that picks a System.Windows.DataTemplate used to display Backstage tab content.

IsOpen

Gets or sets whether the Backstage is open.

public bool IsOpen { get; set; }

Property Value

System.Boolean:

true if the Backstage is open; otherwise, false. The default value is false.

Items

Gets the collection of items to display in the Backstage.

public ObservableCollection<object> Items { get; }

Property Value

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

The collection of items to display in the Backstage.

Methods

Close()

Closes the Backstage.

public void Close()

Open()

Opens the Backstage.

public void Open()

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