Skip to main content
A newer version of this page is available. .

EditorPosition Enum

Enumerates values that specify the editor position relative to the property caption.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v21.2.dll

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

Declaration

public enum EditorPosition

Members

Name Description
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.

Related API Members

The following properties accept/return EditorPosition values:

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.

    Property Grid

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

    Property Grid

    You can use a row’s EditorPosition option to override this setting for that row.

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

    If this property is set to Stretch, the RecordWidth property is not in effect, and editors are stretched up to property captions.

    Property Grid

    The Near, Far, and Center values are only in effect for check editors displayed after property captions. Other editors can only be stretched (the Stretch value) or correspond to the record width (the Default value).

    Property Gride

    You can use a row’s EditorAlignment option to override this setting for that row.

See Also