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

Defines the fluent API for configuring DateTimePickerLabelSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DateTimePickerLabelSettingsBuilder

Inheritance: objectDateTimePickerLabelSettingsBuilder

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

Constructors

DateTimePickerLabelSettingsBuilder method.

C#
public DateTimePickerLabelSettingsBuilder(DateTimePickerLabelSettings container)
Parameters:containerDateTimePickerLabelSettings

Properties

Gets the settings being configured.

C#
protected DateTimePickerLabelSettings Container { get; }

Methods

Sets the inner HTML of the label.

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

The value for Content

Returns:

DateTimePickerLabelSettingsBuilder

Returns the current DateTimePickerLabelSettingsBuilder instance.

Sets the inner HTML of the label.

C#
public DateTimePickerLabelSettingsBuilder ContentHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

DateTimePickerLabelSettingsBuilder

Returns the current DateTimePickerLabelSettingsBuilder instance.

Sets the inner HTML of the label.

C#
public DateTimePickerLabelSettingsBuilder ContentHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

DateTimePickerLabelSettingsBuilder

Returns the current DateTimePickerLabelSettingsBuilder instance.

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

C#
public DateTimePickerLabelSettingsBuilder Floating()
Returns:

DateTimePickerLabelSettingsBuilder

Returns the current DateTimePickerLabelSettingsBuilder instance.

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

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

The value for Floating

Returns:

DateTimePickerLabelSettingsBuilder

Returns the current DateTimePickerLabelSettingsBuilder instance.