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

FormItemLabelSettings class.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class FormItemLabelSettings : IFormItemLabelSettings

Inheritance: objectFormItemLabelSettings

Implements: IFormItemLabelSettings

Inherited Members 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; }

The text of the label.

C#
public string Text { get; set; }

Implements: IFormItemLabelSettings.Text

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Implements: IFormItemLabelSettings.Serialize()