Back to Devexpress

RibbonForm.Text Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonform-bfd77573.md

latest3.2 KB
Original Source

RibbonForm.Text Property

Gets or sets the current RibbonForm‘s caption.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override string Text { get; set; }
vb
Public Overrides Property Text As String

Property Value

TypeDescription
String

A String value that is the current RibbonForm‘s caption.

|

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.

See Also

ApplicationDocumentCaption

ApplicationCaption

BackstageViewShowRibbonItems

RibbonForm Class

RibbonForm Members

DevExpress.XtraBars.Ribbon Namespace