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
Gets or sets the optional action to be displayed in the info bar.
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 istrue
.
Content
Gets or sets the optional content to be displayed in the info bar.
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 istrue
.
Message
Gets or sets 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.
Title
Gets or sets the title content.
Methods
ToString()
Returns the string representation of this object.
Inherited Members
- ObservableObjectBase.NotifyPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()