BaseEditSettings.HorizontalContentAlignment Property

Gets or sets the horizontal alignment of an editor’s contents.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v21.1.dll

Declaration

public EditSettingsHorizontalAlignment HorizontalContentAlignment { get; set; }

Property Value

Type Description
EditSettingsHorizontalAlignment

An EditSettingsHorizontalAlignment enumeration member.

Available values:

Name Description
Left

An element aligned to the left of the layout slot for the parent element.

Center

An element aligned to the center of the layout slot for the parent element.

Right

An element aligned to the right of the layout slot for the parent element.

Stretch

An element stretched to fill the entire layout slot of the parent element.

Default

The element alignment is defined by the owner of the editor.

Property Paths

You can access this nested property as listed below:

Show 11 property paths
Object Type Path to HorizontalContentAlignment
BarEditItem
.EditSettings.HorizontalContentAlignment
FilterField
.EditSettings.HorizontalContentAlignment
TokenEditorBehavior
.TokenEditSettings.HorizontalContentAlignment
GanttColumn
.ActualEditSettings.HorizontalContentAlignment
ColumnBase
.ActualEditSettings.HorizontalContentAlignment
GridColumn
.ActualEditSettings.HorizontalContentAlignment
TreeListColumn
.ActualEditSettings.HorizontalContentAlignment
TreeViewControl
.EditSettings.HorizontalContentAlignment
CollectionDefinition
.EditSettings.HorizontalContentAlignment
PropertyDefinition
.EditSettings.HorizontalContentAlignment
SpreadsheetCustomCellEditEventArgs
.EditSettings.HorizontalContentAlignment
See Also