In This Article

RibbonFooterInfoBarContentViewModel Class

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

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

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 DataTemplate used to display the Action.

public DataTemplate? ActionTemplate { get; set; }

Property Value

DataTemplate

ActionTemplateSelector

The DataTemplateSelector that picks a DataTemplate used to display the Action.

public DataTemplateSelector? ActionTemplateSelector { get; set; }

Property Value

DataTemplateSelector

CanClose

Indicates whether the info bar can be closed by the user.

public bool CanClose { get; set; }

Property Value

bool:

true if the info bar can be closed; otherwise, false. 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 DataTemplate used to display the Content.

public DataTemplate? ContentTemplate { get; set; }

Property Value

DataTemplate

ContentTemplateSelector

The DataTemplateSelector that picks a DataTemplate used to display the Content.

public DataTemplateSelector? ContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector

IconSource

The ImageSource that defines the icon.

public ImageSource? IconSource { get; set; }

Property Value

ImageSource

IsIconVisible

Indicates whether the icon is visible.

public bool IsIconVisible { get; set; }

Property Value

bool:

true if the icon should be visible; otherwise, false. 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.

Tag

A user-defined object attached to the control.

public object? Tag { get; set; }

Property Value

object

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