Back to Devexpress

RibbonControl.ApplicationDocumentCaption Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-6840e4f0.md

latest3.0 KB
Original Source

RibbonControl.ApplicationDocumentCaption Property

Gets or sets the first portion of the RibbonForm’s caption which generally specifies the name of the active document.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("")]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public string ApplicationDocumentCaption { get; set; }
vb
<DefaultValue("")>
<DXCategory("Appearance")>
<XtraSerializableProperty>
Public Property ApplicationDocumentCaption As String

Property Value

TypeDefaultDescription
StringString.Empty

A string which specifies the first portion of the RibbonForm’s caption.

|

Remarks

The ApplicationDocumentCaption property specifies the first portion of the RibbonForm’s caption which generally specifies the name of the active document. See the RibbonControl.ApplicationCaption topic for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplicationDocumentCaption property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-how-to-create-information-panels/CS/EFCore/InfoPanelEF/InfoPanelEF.Win/LightStyleMainRibbonForm1.cs#L135

csharp
ribbonControl.ApplicationCaption = " ";
    ribbonControl.ApplicationDocumentCaption = caption;
}

See Also

ApplicationCaption

RibbonForm

Ribbon Form

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace