Back to Devexpress

DxEditorDropDownButtonBase.Position Property

blazor-devexpress-dot-blazor-dot-base-dot-dxeditordropdownbuttonbase-3c5ac4df.md

latest1.5 KB
Original Source

DxEditorDropDownButtonBase.Position Property

Specifies the button’s position in the editor.

Namespace : DevExpress.Blazor.Base

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

The button position.

|

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 drop-down button, adds a new drop-down button, and specifies its position.

razor
<DxDateEdit Date="DateTime.Today" ShowDropDownButton=false>
    <Buttons>
        <DxDateEditDropDownButton Position="EditorButtonPosition.Left"/>
    </Buttons>
</DxDateEdit>

See Also

DxEditorDropDownButtonBase Class

DxEditorDropDownButtonBase Members

DevExpress.Blazor.Base Namespace