Skip to main content

RepositoryItemBaseSpinEdit.SpinStyle Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(SpinStyles.Vertical)]
[DXCategory("Behavior")]
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