MaskedTextBoxLabelSettingsBuilder

Methods

Content(System.String)

Sets the inner HTML of the label.

Parameters

value - System.String

The value for Content

RETURNS

Returns the current MaskedTextBoxLabelSettingsBuilder instance.

ContentHandler(System.String)

Sets the inner HTML of the label.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current MaskedTextBoxLabelSettingsBuilder instance.

ContentHandler(System.Func)

Sets the inner HTML of the label.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current MaskedTextBoxLabelSettingsBuilder instance.

Floating(System.Boolean)

If set to true, the widget will be wrapped in a container that will allow the floating label functionality.

Parameters

value - System.Boolean

The value for Floating

RETURNS

Returns the current MaskedTextBoxLabelSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().MaskedTextBox()
                   .Name("maskedTextBox")
                   .Label(l => l.Content("Phone number").Floating(true))
            )
             

Floating()

If set to true, the widget will be wrapped in a container that will allow the floating label functionality.

RETURNS

Returns the current MaskedTextBoxLabelSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().MaskedTextBox()
                   .Name("maskedTextBox")
                   .Label(l => l.Content("Phone number").Floating(true))
            )