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

Defines the fluent API for configuring DropDownListLabelSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownListLabelSettingsBuilder

Inheritance: objectDropDownListLabelSettingsBuilder

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

Constructors

DropDownListLabelSettingsBuilder method.

C#
public DropDownListLabelSettingsBuilder(DropDownListLabelSettings container)
Parameters:containerDropDownListLabelSettings

Properties

Gets the settings being configured.

C#
protected DropDownListLabelSettings Container { get; }

Methods

Sets the inner HTML of the label.

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

The value for Content

Returns:

DropDownListLabelSettingsBuilder

Returns the current DropDownListLabelSettingsBuilder instance.

Sets the inner HTML of the label.

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

The handler code wrapped in a text tag.

Returns:

DropDownListLabelSettingsBuilder

Returns the current DropDownListLabelSettingsBuilder instance.

Sets the inner HTML of the label.

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

The name of the JavaScript function that will be evaluated.

Returns:

DropDownListLabelSettingsBuilder

Returns the current DropDownListLabelSettingsBuilder instance.

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

C#
public DropDownListLabelSettingsBuilder Floating()
Returns:

DropDownListLabelSettingsBuilder

Returns the current DropDownListLabelSettingsBuilder instance.

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

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

The value for Floating

Returns:

DropDownListLabelSettingsBuilder

Returns the current DropDownListLabelSettingsBuilder instance.