In This Article

RibbonApplicationButtonViewModel Class

Represents a view model for an application button control within a ribbon.

public class RibbonApplicationButtonViewModel : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

RibbonApplicationButtonViewModel()

Initializes a new instance of the class.

public RibbonApplicationButtonViewModel()

RibbonApplicationButtonViewModel(string?)

Initializes a new instance of the class with the specified label.

public RibbonApplicationButtonViewModel(string? label)
Parameter Type Description
label string

The text label to display.

RibbonApplicationButtonViewModel(string?, string?)

Initializes a new instance of the class with the specified label and key tip text.

public RibbonApplicationButtonViewModel(string? label, string? keyTipText)
Parameter Type Description
label string

The text label to display.

keyTipText string

The key tip text, which is auto-generated from the label if null.

Properties

KeyTipText

The key tip text used to access the control.

public string? KeyTipText { get; set; }

Property Value

string

Label

The text label to display.

public string? Label { 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