RibbonControlPathItem Class
Represents a path item that is part of a RibbonControlPath.
public class RibbonControlPathItem : DependencyObject
- Inheritance:
- object object
Constructors
RibbonControlPathItem()
Initializes a new instance of the RibbonControlPathItem
class.
public RibbonControlPathItem()
RibbonControlPathItem(DependencyObject)
Initializes a new instance of the RibbonControlPathItem
class.
public RibbonControlPathItem(DependencyObject obj)
Parameter | Type | Description |
---|---|---|
obj | DependencyObject | The System.Windows.DependencyObject for which the path is to be constructed. |
Properties
Id
Gets or sets the ID for the control.
Instance
Gets or sets the actual instance reference to the control if the control is not a clone.
public DependencyObject Instance { get; set; }
Property Value
- DependencyObject:
The actual instance reference to the control if the control is not a clone.
Label
Gets or sets the label for the control.
[Localizability(LocalizationCategory.NeverLocalize)]
public string Label { get; set; }
Property Value
- string:
The label for the control.
Type
Gets or sets the Type of the control.
Fields
IdProperty
Identifies the Id dependency property. This field is read-only.
public static readonly DependencyProperty IdProperty
InstanceProperty
Identifies the Instance dependency property. This field is read-only.
public static readonly DependencyProperty InstanceProperty
LabelProperty
Identifies the Label dependency property. This field is read-only.
public static readonly DependencyProperty LabelProperty
TypeProperty
Identifies the Type dependency property. This field is read-only.
public static readonly DependencyProperty TypeProperty