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

Defines the fluent API for configuring the Kendo Window Title settings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class WindowTitleSettingsBuilder

Inheritance: objectWindowTitleSettingsBuilder

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

Constructors

Initializes a new instance of the WindowTitleSettingsBuilder class.

C#
public WindowTitleSettingsBuilder(WindowTitleSettings settings)
Parameters:settingsWindowTitleSettings

The title settings.

Methods

Enables or disables the title.

C#
public WindowTitleSettingsBuilder Enabled(bool enable)
Parameters:enableboolReturns:

WindowTitleSettingsBuilder

Example:
C#
@( Html.Kendo().Window()
.Name("Window")
.Title(x => x.Enabled(false))
)

Enables or disables the encoding of the title.

C#
public WindowTitleSettingsBuilder Encoded(bool encoded)
Parameters:encodedboolReturns:

WindowTitleSettingsBuilder

Example:
C#
@( Html.Kendo().Window()
.Name("Window")
.Title(x => x.Encoded(false).Text("test"))
)

Sets the text of the title

C#
public WindowTitleSettingsBuilder Text(string text)
Parameters:textstringReturns:

WindowTitleSettingsBuilder

Example:
C#
@( Html.Kendo().Window()
.Name("Window")
.Title(x => x.Text("test"))
)