DxComboBoxDropDownButton.Position Property
Specifies the button’s position in the editor.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v23.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(EditorButtonPosition.Right)]
[Parameter]
public EditorButtonPosition Position { get; set; }
Property Value
Type | Default | Description |
---|---|---|
EditorButtonPosition | Right | A EditorButtonPosition enumeration value. |
Available values:
Name | Description |
---|---|
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 code below hides the built-in drop-down button, adds a new drop-down button, and specifies its position.
<DxComboBox Data="@Cities" @bind-Value="@Value" ShowDropDownButton=false>
<Buttons>
<DxComboBoxDropDownButton Position="EditorButtonPosition.Left"/>
</Buttons>
</DxComboBox>
@code {
IEnumerable<string> Cities = new List<string>() {
"London",
"Berlin",
"Paris",
};
string Value { get; set; }
}
See Also