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

RepositoryItemBaseSpinEdit.SpinStyle Property

Gets or sets the spin button’s orientation.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(SpinStyles.Vertical)]
[SmartTagProperty("Spin Style", "Editor Style", SmartTagActionType.RefreshBoundsAfterExecute)]
public virtual SpinStyles SpinStyle { get; set; }

Property Value

Type Default Description
SpinStyles **Vertical**

A SpinStyles enumeration member specifying the spin button’s orientation.

Available values:

Name Description
Horizontal

Orients the SpinEdit editor increment and decrement buttons horizontally.

SpinStyle_Horz

Vertical

Orients the SpinEdit editor increment and decrement buttons vertically.

SpinStyle_Vert

Remarks

The SpinStyle property specifies the spin button’s orientation within the editor. Members of the SpinStyles enumeration represent available options.

Changing this property value at runtime raises the RepositoryItem.PropertiesChanged event.

See Also