Defines the fluent API for configuring the DockManagerRootPaneSettingsPane settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DockManagerRootPaneSettingsPaneBuilder
Inheritance: objectDockManagerRootPaneSettingsPaneBuilder
Inherited Members
Constructors
Initialize the DockManagerRootPaneSettingsPaneBuilder
public DockManagerRootPaneSettingsPaneBuilder(DockManagerRootPaneSettingsPane settings)
Methods
Specifies if the pane can be closed. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Closeable(bool value)
The value that configures the closeable.
Returns:The content of the pane. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Content(string value)
The value that configures the content.
Returns:Defines the content of the pane. The option is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder ContentHandler(string value)
The JavaScript function that returns the content of the pane.
Returns:Defines the content of the pane. The option is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder ContentTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the pane's content.
Returns:Defines the content of the pane. The option is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder ContentView(MvcHtmlString templateView)
The Razor View that contains the content of the pane.
Returns:Specifies if the pane can be docked and allow inner docking of other panes. Accepts boolean or object. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Dockable(Action<DockManagerRootPanePaneDockableSettingsBuilder> configurator)
The action that configures the dockable.
Returns:Specifies if the pane can be docked and allow inner docking of other panes. Accepts boolean or object. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Dockable(bool enabled)
Enables or disables the dockable option.
Returns:Sets the content of the header. Accepts a string or a kendo template. By default, the same content is displayed in the tab when the pane is unpinned or within a pane of type tab. If not specified the title is displayed. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Header(string value)
The value that configures the header.
Returns:The content of the pane's header. Available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder HeaderHandler(string value)
The JavaScript function that returns the content of the header.
Returns:Defines the template that will render the content of the pane's header. The option is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder HeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the header's content template.
Returns:Defines the template that will render the content of the header. By default, the same content is displayed in the tab when the pane is unpinned or within a pane of type tab. If the header is not specified, the Title will be displayed. The HeaderTemplate is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder HeaderView(MvcHtmlString templateView)
The Razor View that contains the content of the header.
Returns:Defines the id of the pane
public DockManagerRootPaneSettingsPaneBuilder Id(string value)
The value that configures the id.
Returns:Sets the orientation of the pane splitter.
public DockManagerRootPaneSettingsPaneBuilder Orientation(DockSplitterOrientation value)
The value that configures the orientation.
Returns:An array of pane definitions.
public DockManagerRootPaneSettingsPaneBuilder Panes(Action<DockManagerRootPaneSettingsPaneFactory> configurator)
The action that configures the panes.
Returns:Specifies the index of the initially selected tab. Available only for panes of type tab.
public DockManagerRootPaneSettingsPaneBuilder Selected(double value)
The value that configures the selected.
Returns:Specifies the size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%").
public DockManagerRootPaneSettingsPaneBuilder Size(string value)
The value that configures the size.
Returns:Sets the content of the tab when the pane is unpinned or within a tab pane. If not specified, header content is used. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder TabHeader(string value)
The value that configures the tab's header.
Returns:Sets the content of the tab when the pane is unpinned or within a tab pane. If not specified, header content is used. Available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder TabHeaderHandler(string value)
The JavaScript function that returns the content of the tab.
Returns:Defines the template that will render the content of the tab when the pane is unpinned or within a tab pane. If not specified, header content is used. Available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder TabHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the tab's content.
Returns:Defines the template that will render the content of the tab header when the pane is unpinned or within a tab pane. If the tab header is not specified, the header's content will be displayed. The TabHeaderTemplate is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder TabHeaderView(MvcHtmlString templateView)
The Razor View that contains the content of the tab header.
Returns:Sets the title of the pane. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Title(string value)
The value that configures the title.
Returns:Sets the type of the pane.
public DockManagerRootPaneSettingsPaneBuilder Type(PaneType value)
The value that configures the type.
Returns:Specifies if the pane can be pinned/unpinnned. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Unpinnable(Action<DockManagerRootPanePaneUnpinnableSettingsBuilder> configurator)
The action that configures the unpinnable.
Returns:Specifies if the pane can be pinned/unpinnned. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Unpinnable(bool enabled)
Enables or disables the unpinnable option.
Returns:Specifies if the pane is initially visible.
public DockManagerRootPaneSettingsPaneBuilder Visible(bool value)
The value that configures the visible.
Returns: