The requested page is not available for the requested platform. You are viewing the content for Default platform.

BuilderFactoryExtensions.BootstrapButton(BuilderFactory, String) Method

Creates a Button control.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public static BootstrapButtonBuilder BootstrapButton(
    this BuilderFactory builderFactory,
    string name
)
<ExtensionAttribute>
Public Shared Function BootstrapButton(
    builderFactory As BuilderFactory,
    name As String
) As BootstrapButtonBuilder

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Button settings.

name String

A control name.

Returns

Type Description
BootstrapButtonBuilder

A builder for a Button control.

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

The code sample below demonstrates how you can use this method to create an Button control.

Copy
@(Html.DevExpress()
    .BootstrapButton("defaultButton")
    .Text("Button")
    .ClientSideEvents(events => events
        .Click("onButtonClick")
    ))
See Also