windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonform-bfd77573.md
Gets or sets the current RibbonForm‘s caption.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public override string Text { get; set; }
Public Overrides Property Text As String
| Type | Description |
|---|---|
| String |
A String value that is the current RibbonForm‘s caption.
|
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.
See Also