SplitterPaneBuilder
Defines the fluent interface for configuring the splitter panes (SplitterPane).
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SplitterPaneBuilder
Inheritance: objectSplitterPaneBuilder
Inherited Members
Constructors
public SplitterPaneBuilder(SplitterPane pane, ViewContext viewContext)
Methods
Sets whether the pane is initially collapsed.
public SplitterPaneBuilder Collapsed(bool isCollapsed)
Whether the pane will be initially collapsed.
Returns:Sets the pane size while collapsed.
public SplitterPaneBuilder CollapsedSize(string collapsedSize)
The desired size. Only sizes in pixels and percentages are allowed.
Returns:Sets whether the pane can be collapsed by the user.
public SplitterPaneBuilder Collapsible(bool isCollapsible)
Whether the pane can be collapsed by the user.
Returns:Sets the HTML content of the pane.
public SplitterPaneBuilder Content(Action content)
The action which renders the HTML content.
Returns:Sets the HTML content of the pane.
public SplitterPaneBuilder Content(string content)
The HTML content.
Returns:Sets the HTML attributes applied to the outer HTML element rendered for the item
public SplitterPaneBuilder HtmlAttributes(IDictionary<string, object> attributes)
The attributes.
Returns:Sets the HTML attributes applied to the outer HTML element rendered for the item
public SplitterPaneBuilder HtmlAttributes(object attributes)
The attributes.
Returns: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).
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: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:Sets the Url, which will be requested to return the pane content.
Sets the maximum pane size.
public SplitterPaneBuilder MaxSize(string size)
The desired maximum size. Only sizes in pixels and percentages are allowed.
Returns:Sets the minimum pane size.
public SplitterPaneBuilder MinSize(string size)
The desired minimum size. Only sizes in pixels and percentages are allowed.
Returns:Sets whether the pane can be resized by the user.
public SplitterPaneBuilder Resizable(bool isResizable)
Whether the pane will be resizable.
Returns:Sets whether the pane shows a scrollbar when its content overflows.
public SplitterPaneBuilder Scrollable(bool isScrollable)
Whether the pane will be scrollable.
Returns:Sets the pane size.
public SplitterPaneBuilder Size(string size)
The desired size. Only sizes in pixels and percentages are allowed.
Returns: