Ribbon.Title Property
Gets or sets the title of this Ribbon control.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property Title As Object
public Object Title { get; set; }
public:
property Object^ Title {
Object^ get ();
void set (Object^ value);
}
member Title : Object with get, set
function get Title () : Object
function set Title (value : Object)
Property Value
Type: System.Object
The title of this Ribbon control. 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
You will typically set the Title property on the RibbonWindow instead of setting the Ribbon.Title property.
The Ribbon.Title is shown in the title bar of the RibbonWindow if the Window.Title property of the RibbonWindow is nulla null reference (Nothing in Visual Basic). If the Window.Title property is not nulla null reference (Nothing in Visual Basic), the RibbonWindow title is shown instead of the Ribbon.Title value.
If the Ribbon is hosted in a Window instead of a RibbonWindow, the Ribbon.Title is shown next to the Quick Access Toolbar, below the Window.Title.
.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.