Skip to main content
A newer version of this page is available. .

RibbonForm.Text Property

Gets or sets the current RibbonForm‘s caption.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public override string Text { get; set; }

Property Value

Type Description
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.

RibbonForm.Text

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