Back to Devexpress

PGridOptionsView.EditorPosition Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-pgridoptionsview-fc7e51db.md

latest2.9 KB
Original Source

PGridOptionsView.EditorPosition Property

Gets or sets whether editors are located before or after captions.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
EditorPositionDefault

A value that specifies whether editors are located before or after captions.

|

Available values:

NameDescription
Default

The position is not specified explicitly. Uses the AfterCaption value for all editors except check editors.

| | BeforeCaption |

Displays the editor before the property caption.

| | AfterCaption |

Displays the editor after the property caption.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EditorPosition
PropertyGridControl

.OptionsView .EditorPosition

|

Remarks

In the Office view, you can use the following options to specify how editors are displayed in rows:

  • RecordWidth — specifies the relative width of the column that displays property editors. 100 corresponds to one-third of the control’s total width.

  • EditorPosition — specifies whether property editors are located before or after property captions. All editors are located after captions except check editors.

  • EditorAlignment — specifies whether editors are aligned at the left, right, center, or stretched in the column that displays editors.

See Also

PGridOptionsView Class

PGridOptionsView Members

DevExpress.XtraVerticalGrid Namespace