RibbonBackstageViewModel Class
Represents a view model for a Backstage control within a ribbon.
public class RibbonBackstageViewModel : ObservableObjectBase
- Inheritance:
- object ObservableObjectBase object
Constructors
RibbonBackstageViewModel()
Initializes an instance of the class.
public RibbonBackstageViewModel()
Properties
ContentTemplate
The Avalonia.Controls.Templates.IDataTemplate used to display Backstage tab content.
public IDataTemplate? ContentTemplate { get; set; }
Property Value
- IDataTemplate
IsOpen
Indicates whether the Backstage is open.
Items
The collection of items to display in the Backstage.
SelectedItem
The Backstage's selected item, which is a tab item in the Items collection.
Methods
Close()
Closes the Backstage.
public void Close()
Open()
Opens the Backstage.
public void Open()
ToString()
Returns the string representation of this object.
Inherited Members
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()