RepositoryItemBaseSpinEdit.SpinStyle Property

Gets or sets whether spin buttons are oriented vertically or horizontally.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(SpinStyles.Vertical)]
public virtual SpinStyles SpinStyle { get; set; }

Property Value

Type Default Description
SpinStyles

Vertical

A SpinStyles enumeration value that specifies whether spin buttons are oriented vertically or horizontally.

Available values:

Name Description
Horizontal

Spin buttons are oriented horizontally.

SpinStyle_Horz

Vertical

Spin buttons are oriented vertically.

SpinStyle_Vert

Remarks

When the SpinStyle property value changes, the RepositoryItem.PropertiesChanged event raises.

See Also