SplitterPaneBuilder
Defines the fluent API for configuring SplitterPane
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SplitterPaneBuilder
Inheritance: objectSplitterPaneBuilder
Inherited Members
Constructors
SplitterPaneBuilder method.
Properties
Gets the settings being configured.
protected SplitterPane Container { get; }
Methods
Specifies whether a pane is initially collapsed (true) or expanded (true).
public SplitterPaneBuilder Collapsed(bool value)
The value for Collapsed
Returns:Returns the current SplitterPaneBuilder instance.
Specifies the size of a collapsed pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). This value must not exceed panes.max or be less then panes.min.
public SplitterPaneBuilder CollapsedSize(string value)
The value for CollapsedSize
Returns:Returns the current SplitterPaneBuilder instance.
Specifies whether a pane is collapsible (true) or not collapsible (false).
public SplitterPaneBuilder Collapsible(bool value)
The value for Collapsible
Returns:Returns the current SplitterPaneBuilder instance.
Sets the HTML content of the pane.
public SplitterPaneBuilder Content(Action content)
The action which renders the HTML content.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the HTML content of the pane.
public SplitterPaneBuilder Content(Func<object, object> content)
The Razor template for the HTML content.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the HTML content of the pane.
public SplitterPaneBuilder Content(string content)
The HTML content.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the HTML attributes applied to the outer HTML element rendered for the item
public SplitterPaneBuilder HtmlAttributes(IDictionary<string, object> attributes)
The attributes.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the HTML attributes applied to the outer HTML element rendered for the item
public SplitterPaneBuilder HtmlAttributes(object attributes)
The attributes.
Returns:Returns the current SplitterPaneBuilder instance.
The label of the current pane. Will be used as a aria-label for the Splitter separator that has the pane as its primary one (the separator that is immediately after the pane).
public SplitterPaneBuilder Label(string label)
The label text.
Returns:Returns the current SplitterPaneBuilder instance.
The ID of the element that should be used as a label of the current pane. Will be used as a value of the aria-labelledby attribute for the Splitter separator that has the pane as its primary one (the separator that is immediately after the pane).
public SplitterPaneBuilder LabelId(string labelId)
The "id" attribute of the label element.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the Url which will be requested to return the pane content.
public SplitterPaneBuilder LoadContentFrom(RouteValueDictionary routeValues)
The route values of the Action method.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the Url, which will be requested to return the content.
public SplitterPaneBuilder LoadContentFrom(string actionName, string controllerName, object routeValues)
The action name.
controllerNamestringThe controller name.
routeValuesobjectThe route values of the Action method.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the Url, which will be requested to return the content.
public SplitterPaneBuilder LoadContentFrom(string actionName, string controllerName, RouteValueDictionary routeValues)
The action name.
controllerNamestringThe controller name.
routeValuesRouteValueDictionaryRoute values.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the Url, which will be requested to return the pane content.
public SplitterPaneBuilder LoadContentFrom(string actionName, string controllerName)
The action name.
controllerNamestringThe controller name.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the Url, which will be requested to return the pane content.
public SplitterPaneBuilder LoadContentFrom(string value)
The url.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the maximum pane size.
public SplitterPaneBuilder MaxSize(string size)
The desired maximum size. Only sizes in pixels and percentages are allowed.
Returns:Returns the current SplitterPaneBuilder instance.
Sets the minimum pane size.
public SplitterPaneBuilder MinSize(string size)
The desired minimum size. Only sizes in pixels and percentages are allowed.
Returns:Returns the current SplitterPaneBuilder instance.
Specifies whether a pane is resizable (true) or not resizable (false).
public SplitterPaneBuilder Resizable(bool value)
The value for Resizable
Returns:Returns the current SplitterPaneBuilder instance.
Specifies whether a pane is scrollable (true) or not scrollable (false).
public SplitterPaneBuilder Scrollable(bool value)
The value for Scrollable
Returns:Returns the current SplitterPaneBuilder instance.
Specifies the size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). This value must not exceed panes.max or be less then panes.min.
public SplitterPaneBuilder Size(string value)
The value for Size
Returns:Returns the current SplitterPaneBuilder instance.