RibbonMenuItem.Ribbon Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Identifier field | RibbonProperty |
Metadata properties set to true |
None |