Επεξεργασία

Κοινή χρήση μέσω


Ribbon.Title Property

Definition

Gets or sets the title of this Ribbon control.

public:
 property System::Object ^ Title { System::Object ^ get(); void set(System::Object ^ value); };
public object Title { get; set; }
member this.Title : obj with get, set
Public Property Title As Object

Property Value

The title of this Ribbon control. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

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 null. If the Window.Title property is not null, 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.

Dependency Property Information

Identifier field TitleProperty
Metadata properties set to true None

Applies to

See also