Back to Devexpress

DxSpinButtons.Position Property

blazor-devexpress-dot-blazor-dot-dxspinbuttons-14f0fbb9.md

latest1.5 KB
Original Source

DxSpinButtons.Position Property

Specifies the button position in the editor.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(EditorButtonPosition.Right)]
[Parameter]
public EditorButtonPosition Position { get; set; }

Property Value

TypeDefaultDescription
EditorButtonPositionRight

A EditorButtonPosition enumeration value.

|

Available values:

NameDescription
Left

The button is placed at the left edge of the editor.

| | Right |

The button is placed at the right edge of the editor.

|

Remarks

The following code snippet hides the built-in spin buttons, adds new spin buttons, and specifies their position.

razor
<DxSpinEdit Value="15" ShowSpinButtons="false">
        <Buttons>
            <DxSpinButtons Position="EditorButtonPosition.Left"/>
        </Buttons>
</DxSpinEdit>

See Also

DxSpinButtons Class

DxSpinButtons Members

DevExpress.Blazor Namespace