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

Defines the fluent API for configuring the FormItemLabelSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FormItemLabelSettings : JsonObject

Inheritance: objectJsonObjectFormItemLabelSettings

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

Constructors

Initialization for the FormItemLabelSettings

C#
public FormItemLabelSettings()

Properties

Specifies if the label text will HTML-encoded before it is displayed. If set to false the label text will be displayed as is.

C#
public bool? Encoded { get; set; }

Specifies if the field is optional by rendering additional text next to the label.

C#
public bool? Optional { get; set; }

Defines the text of the label.

C#
public string Text { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)