RibbonGalleryItem.Ribbon Property
Gets a reference to the Ribbon that this control belongs to.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public ReadOnly Property Ribbon As Ribbon
public Ribbon Ribbon { get; }
public:
property Ribbon^ Ribbon {
Ribbon^ get ();
}
member Ribbon : Ribbon
function get Ribbon () : Ribbon
Property Value
Type: Microsoft.Windows.Controls.Ribbon.Ribbon
A reference to the Ribbon that this control belongs to. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.