BuilderFactoryExtensions.BootstrapMemo(BuilderFactory, String) Method

Creates a Memo control with a specified name.

Namespace: DevExpress.AspNetCore

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

Declaration

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

Parameters

Type Name Description
BuilderFactory builderFactory

A BuilderFactory object providing access to Memo settings.

String name

A control name.

Returns

Type Description
BootstrapMemoBuilder

A builder for a Memo control.

The code sample below demonstrates how you can use this method to create a Memo control.

@(Html.DevExpress()
    .BootstrapMemo("memoDefault")
    .Rows(3)
    .Value("Quisque imperdiet risus quis nisl vulputate, a pharetra tortor ornare. ")
)

See Also