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

Defines the fluent API for configuring the LabelSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownTreeLabelSettingsBuilder

Inheritance: objectDropDownTreeLabelSettingsBuilder

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

Constructors

Initialize the LabelSettingsBuilder

C#
public DropDownTreeLabelSettingsBuilder(DropDownTreeLabelSettings settings)
Parameters:settingsDropDownTreeLabelSettings

The LabelSettings

Methods

Sets the inner HTML of the label.

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

The value that configures the content.

Returns:

DropDownTreeLabelSettingsBuilder

Example:
C#
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Label(label=>label.Content("DropDownTree"))
)

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

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

The value that configures the floating.

Returns:

DropDownTreeLabelSettingsBuilder

Example:
C#
@(Html.Kendo().DropDownTree()
.Name("DropDownTree")
.Label(label=>label
.Content("DropDownTree")
.Floating(true)
)
)