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

Gets or sets the optional action to be displayed in the info bar.

public object Action { get; set; }

Property Value

object:

The action.

ActionTemplate

Gets or sets the DataTemplate used to display the Action.

public DataTemplate ActionTemplate { get; set; }

Property Value

DataTemplate:

The DataTemplate used to display the Action.

ActionTemplateSelector

Gets or sets the DataTemplateSelector that picks a DataTemplate used to display the Action.

public DataTemplateSelector ActionTemplateSelector { get; set; }

Property Value

DataTemplateSelector:

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

CanClose

Gets or sets 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

Gets or sets the optional content to be displayed in the info bar.

public object Content { get; set; }

Property Value

object:

The content.

ContentTemplate

Gets or sets the DataTemplate used to display the Content.

public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate:

The DataTemplate used to display the Content.

ContentTemplateSelector

Gets or sets the DataTemplateSelector that picks a DataTemplate used to display the Content.

public DataTemplateSelector ContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector:

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

IconSource

Gets or sets the ImageSource that defines the icon.

public ImageSource IconSource { get; set; }

Property Value

ImageSource:

The ImageSource that defines the icon.

IsIconVisible

Gets or sets 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

Gets or sets the message content.

public string Message { get; set; }

Property Value

string:

The message content.

Padding

Gets or sets the padding inside the control.

public Thickness Padding { get; set; }

Property Value

Thickness:

The padding inside the control. The default value is 10,5.

Severity

Gets of sets the severity of the info bar.

public InfoBarSeverity Severity { get; set; }

Property Value

InfoBarSeverity:

One of the InfoBarSeverity values. The default value is Information.

Tag

Gets or sets a user-defined object attached to the control.

public object Tag { get; set; }

Property Value

object

Title

Gets or sets the title content.

public string Title { get; set; }

Property Value

string:

The title content.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members