TextEditorButtonWidgetFactory.Button() Method
In This Article
Provides methods that allows you to configure a custom editor button.
Namespace: DevExtreme.AspNet.Mvc.Factories
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public ButtonBuilder Button()
#Returns
Type | Description |
---|---|
Button |
An instance of Button |
#Remarks
@(Html.DevExtreme().TextBox()
.Buttons(buttons => {
buttons.Add()
.Location(TextEditorButtonLocation.After)
.Widget(w => w.Button()
// call methods in a chain to customize the button
);
})
)
See Also