Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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