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

TreeListOptionsEditForm.FormCaptionFormat Property

Gets or sets a custom caption for the Edit From. Use field names in braces {} to display field values in the caption.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

[DefaultValue("")]
[XtraSerializableProperty]
public virtual string FormCaptionFormat { get; set; }

#Property Value

Type Default Description
String String.Empty

A String value that specifies the Edit From’s caption.

#Property Paths

You can access this nested property as listed below:

Object Type Path to FormCaptionFormat
TreeList
.OptionsEditForm .FormCaptionFormat

#Remarks

Use the FormCaptionFormat property to specify the Edit Form’s caption. To display a field value in the caption, enter the field name in braces.

image

treeList1.OptionsEditForm.FormCaptionFormat = "{CompanyName} company is located at {Address}, {PostalCode} {City}, {Country}";
See Also