Back to Devexpress

TreeListOptionsColumnEditForm.CaptionLocation Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionscolumneditform.md

latest2.5 KB
Original Source

TreeListOptionsColumnEditForm.CaptionLocation Property

Gets or sets whether the caption is located at the editor’s near edge, over the editor, or hidden.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(EditFormColumnCaptionLocation.Default)]
[XtraSerializableProperty]
public virtual EditFormColumnCaptionLocation CaptionLocation { get; set; }
vb
<DefaultValue(EditFormColumnCaptionLocation.Default)>
<XtraSerializableProperty>
Public Overridable Property CaptionLocation As EditFormColumnCaptionLocation

Property Value

TypeDefaultDescription
EditFormColumnCaptionLocationDefault

A value that specifies whether the caption is located at the editor’s near edge, over the editor, or hidden.

|

Available values:

NameDescription
Default

Specifies the same location as EditFormColumnCaptionLocation.Near.

| | Near |

The caption is displayed on the left side of the editor (left-to-right layout); otherwise, the caption is displayed to the right of the editor (right-to-left layout).

| | Top |

The caption is located above the editor.

| | None |

Hides the caption.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CaptionLocation
TreeListColumn

.OptionsEditForm .CaptionLocation

|

See Also

TreeListOptionsColumnEditForm Class

TreeListOptionsColumnEditForm Members

DevExpress.XtraTreeList.Columns Namespace