Defines the fluent API for configuring DockManagerRootPaneSettingsPane
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DockManagerRootPaneSettingsPaneBuilder
Inheritance: objectDockManagerRootPaneSettingsPaneBuilder
Inherited Members
Constructors
DockManagerRootPaneSettingsPaneBuilder method.
public DockManagerRootPaneSettingsPaneBuilder(DockManagerRootPaneSettingsPane container)
Properties
Gets the settings being configured.
protected DockManagerRootPaneSettingsPane Container { get; }
Methods
Specifies if the pane can be closed. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Closeable(bool value)
The value for Closeable
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
The content of the pane. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Content(string value)
The value for Content
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
The content of the pane. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder ContentHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
The content of the pane. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder ContentHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
Defines the content of the pane. The option is available only for panes of type "Content".
public DockManagerRootPaneSettingsPaneBuilder ContentView(IHtmlContent templateView)
The Razor View that contains the content of the pane.
Returns:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
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 DockManagerRootPanePaneDockableSettingsBuilder for the dockable setting.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current instance of DockManagerRootPaneSettingsPaneBuilder .
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:DockManagerRootPaneSettingsPaneBuilder
Returns the current instance of DockManagerRootPanePaneDockableSettingsBuilder .
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 for Header
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 HeaderHandler(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 HeaderHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 HeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the header content.
Returns:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
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(IHtmlContent templateView)
The Razor View that contains the content of the header.
Returns:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
Defines the id of the pane
public DockManagerRootPaneSettingsPaneBuilder Id(string value)
The value for Id
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
Sets the orientation of the pane splitter.
public DockManagerRootPaneSettingsPaneBuilder Orientation(DockSplitterOrientation value)
The value for Orientation
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
An array of pane definitions.
public DockManagerRootPaneSettingsPaneBuilder Panes(Action<DockManagerRootPaneSettingsPaneFactory> configurator)
The configurator for the panes setting.
Returns:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
Specifies the index of the initially selected tab. Available only for panes of type tab.
public DockManagerRootPaneSettingsPaneBuilder Selected(double value)
The value for Selected
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 for Size
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 for TabHeader
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 handler)
The name of the JavaScript function that will be evaluated.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
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 TabHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the content of the tab header.
Returns:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
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(IHtmlContent templateView)
The Razor View that contains the content of the tab header.
Returns:DockManagerRootPaneSettingsPaneBuilder
A DockManagerRootPaneSettingsPaneBuilder instance for method chaining.
Sets the title of the pane. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Title(string value)
The value for Title
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
Sets the type of the pane.
public DockManagerRootPaneSettingsPaneBuilder Type(PaneType value)
The value for Type
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.
Specifies if the pane can be pinned/unpinnned. Available only for panes of type content.
public DockManagerRootPaneSettingsPaneBuilder Unpinnable(Action<DockManagerRootPanePaneUnpinnableSettingsBuilder> configurator)
The DockManagerRootPanePaneUnpinnableSettingsBuilder for the unpinnable setting.
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current instance of DockManagerRootPaneSettingsPaneBuilder .
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:DockManagerRootPaneSettingsPaneBuilder
Returns the current instance of DockManagerRootPanePaneUnpinnableSettingsBuilder .
Specifies if the pane is initially visible.
public DockManagerRootPaneSettingsPaneBuilder Visible(bool value)
The value for Visible
Returns:DockManagerRootPaneSettingsPaneBuilder
Returns the current DockManagerRootPaneSettingsPaneBuilder instance.