Muokkaa

Jaa


RibbonButton.Ribbon Property

Definition

Gets a reference to the Ribbon that this control belongs to.

public:
 property System::Windows::Controls::Ribbon::Ribbon ^ Ribbon { System::Windows::Controls::Ribbon::Ribbon ^ get(); };
public System.Windows.Controls.Ribbon.Ribbon Ribbon { get; }
member this.Ribbon : System.Windows.Controls.Ribbon.Ribbon
Public ReadOnly Property Ribbon As Ribbon

Property Value

A reference to the Ribbon that this control belongs to. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

This property is set on the parent Ribbon control and is inherited by the child controls. It is used to access visual style brushes defined on the Ribbon class.

Dependency Property Information

Item Value
Identifier field RibbonProperty
Metadata properties set to true None

Applies to