Skip to main content

ButtonBuilder.Content(String) Method

Specifies content for a Button control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ButtonBuilder Content(
    string content
)

Parameters

Name Type Description
content String

A string that specifies content.

Returns

Type Description
ButtonBuilder

A reference to this instance after the method is called.

Remarks

Refer to Use Markup to Specify Content for more information.

@(Html.DevExtreme().Button()
    .Content("<p>Button content</p>")
)
See Also