Dela via


RibbonToolTip.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 Property Ribbon As Ribbon
public Ribbon Ribbon { get; private set; }
public:
property Ribbon^ Ribbon {
    Ribbon^ get ();
    private: void set (Ribbon^ value);
}
member Ribbon : Ribbon with get, private set
function get Ribbon () : Ribbon
private function set Ribbon (value : 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

RibbonProperty

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

See Also

Reference

RibbonToolTip Class

Microsoft.Windows.Controls.Ribbon Namespace