In This Article

RibbonFooterViewModel Class

Represents a view model for a footer within a ribbon.

public class RibbonFooterViewModel : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

RibbonFooterViewModel()

Initializes an instance of the class.

public RibbonFooterViewModel()

Properties

Content

The content to display within the ribbon footer.

public object? Content { get; set; }

Property Value

object

ContentTemplate

The Avalonia.Controls.Templates.IDataTemplate used to display the content.

public IDataTemplate? ContentTemplate { get; set; }

Property Value

IDataTemplate

ContentTemplateSelector

The IDataTemplateSelector that picks a Avalonia.Controls.Templates.IDataTemplate used to display the content.

public IDataTemplateSelector? ContentTemplateSelector { get; set; }

Property Value

IDataTemplateSelector

Kind

A RibbonFooterKind indicating the kind of footer, which determines its appearance.

public RibbonFooterKind Kind { get; set; }

Property Value

RibbonFooterKind:

The default value is Default.

Padding

The padding inside the control.

public Thickness Padding { get; set; }

Property Value

Thickness:

The default value is 10,5.

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