RibbonForm.Text Property
Gets or sets the current RibbonForm‘s caption.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
String | A String value that is the current Ribbon |
#Remarks
The Text property is the most common property used to specify a RibbonForm‘s title.
If your application emulates the Microsoft Office UI (a RibbonForm contains the RibbonControl component and tabbed documents), you can set a more complex RibbonForm‘s caption composed of 2 parts, specified via the RibbonControl.ApplicationDocumentCaption and RibbonControl.ApplicationCaption properties. In this case, the Text property is ignored or used instead of the unspecified RibbonControl.ApplicationCaption property. The figure below illustrates an example.
When a RibbonControl within a RibbonForm is running with the Office 2013 style applied (see the RibbonControl.RibbonStyle property), the form’s Text can be visible even through the BackstageViewControl. See the BackstageViewControl.BackstageViewShowRibbonItems property to learn more.