Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

Document.ActionCaption Property

Gets or sets the caption for the navigation action related to the current Document.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(null)]
public string ActionCaption { get; set; }

#Property Value

Type Default Description
String null

A String value specifying the caption for the navigation action related to the current Document.

#Remarks

Navigation Bars for SplitGroup and SlideGroup content containers have actions related to individual Documents within these containers. Clicking this button activates a Document and switches you to the Detail Screen. By default, these navigation actions have the same caption as their related Documents have. Use the ActionCaption property to change these captions.

The figure below illustrates Navigation Bars for the SplitGroup container with two Documents. The first navigation action has the default caption, the second one has the caption specified via the ActionCaption property:

DocumentManager - Action Caption

You can also set navigation actions’ images using the Document.ActionImageOptions property.

See Also