New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the DateInputLabelSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DateInputLabelSettingsBuilder

Inheritance: objectDateInputLabelSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DateInputLabelSettingsBuilder(DateInputLabelSettings settings)
Parameters:settingsDateInputLabelSettings

The DateInputLabelSettings

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Label(l => l.Content("Value"))
)

Methods

Sets the inner HTML of the label.

C#
public DateInputLabelSettingsBuilder Content(string value)
Parameters:valuestring

The value that configures the content.

Returns:

DateInputLabelSettingsBuilder

Example:
C#
@(Html.Kendo().DateInput()
.Name("dateinput")
.Label(l => l.Content("Enter a date..."))
)

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

C#
public DateInputLabelSettingsBuilder Floating(bool value)
Parameters:valuebool

The value that configures the floating.

Returns:

DateInputLabelSettingsBuilder