TextEditorButtonBuilder.Location(TextEditorButtonLocation) Method
Specifies whether to place the button before or after the input text field. Mirrors the client-side location option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public TextEditorButtonBuilder Location(
TextEditorButtonLocation value
)
Parameters
Name | Type | Description |
---|---|---|
value | TextEditorButtonLocation | The option value. |
Returns
Type | Description |
---|---|
TextEditorButtonBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().TextBox()
.Buttons(buttons => {
buttons.Add().Location(TextEditorButtonLocation.After);
})
)
See Also