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

Defines the fluent API for configuring WindowPositionSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class WindowPositionSettingsBuilder

Inheritance: objectWindowPositionSettingsBuilder

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

Constructors

WindowPositionSettingsBuilder method.

C#
public WindowPositionSettingsBuilder(WindowPositionSettings container)
Parameters:containerWindowPositionSettings

Properties

Gets the settings being configured.

C#
protected WindowPositionSettings Container { get; }

Methods

Specifies the initial left position of the Window. Numeric values are treated as pixels. String values can specify pixels, percentages, ems or other valid values.

C#
public WindowPositionSettingsBuilder Left(double value)
Parameters:valuedouble

The value for Left

Returns:

WindowPositionSettingsBuilder

Returns the current WindowPositionSettingsBuilder instance.

Specifies the initial left position of the Window. Numeric values are treated as pixels. String values can specify pixels, percentages, ems or other valid values.

C#
public WindowPositionSettingsBuilder Left(string value)
Parameters:valuestring

The value for Left

Returns:

WindowPositionSettingsBuilder

Returns the current WindowPositionSettingsBuilder instance.

Specifies the initial top position of the Window. Numeric values are treated as pixels. String values can specify pixels, percentages, ems, or other valid values.

C#
public WindowPositionSettingsBuilder Top(double value)
Parameters:valuedouble

The value for Top

Returns:

WindowPositionSettingsBuilder

Returns the current WindowPositionSettingsBuilder instance.

Specifies the initial top position of the Window. Numeric values are treated as pixels. String values can specify pixels, percentages, ems, or other valid values.

C#
public WindowPositionSettingsBuilder Top(string value)
Parameters:valuestring

The value for Top

Returns:

WindowPositionSettingsBuilder

Returns the current WindowPositionSettingsBuilder instance.