In This Article

RibbonFooterInfoBarContentViewModel Class

Represents a view model for image and text content within a ribbon footer.

public class RibbonFooterInfoBarContentViewModel : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

RibbonFooterInfoBarContentViewModel()

Initializes an instance of the class.

public RibbonFooterInfoBarContentViewModel()

Properties

Action

The optional action to be displayed in the info bar.

public object? Action { get; set; }

Property Value

object

ActionTemplate

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

public IDataTemplate? ActionTemplate { get; set; }

Property Value

IDataTemplate

CanClose

Whether the info bar can be closed by the user.

public bool CanClose { get; set; }

Property Value

bool:

The default value is true.

Content

The optional content to be displayed in the info bar.

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

Icon

A value representing the icon.

public object? Icon { get; set; }

Property Value

object

IsIconVisible

Whether the icon is visible.

public bool IsIconVisible { get; set; }

Property Value

bool:

The default value is true.

Message

The message content.

public string? Message { get; set; }

Property Value

string

Padding

The padding inside the control.

public Thickness Padding { get; set; }

Property Value

Thickness:

The default value is 10,5.

Severity

The severity of the info bar.

public InfoBarSeverity Severity { get; set; }

Property Value

InfoBarSeverity:

The default value is Information.

Title

The title content.

public string? Title { get; set; }

Property Value

string

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