Defines the fluent API for configuring the Kendo UI ResponsivePanel
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ResponsivePanelBuilder : WidgetBuilderBase<ResponsivePanel, ResponsivePanelBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<ResponsivePanel, ResponsivePanelBuilder>ResponsivePanelBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ResponsivePanelBuilder class.
Methods
If set to false the widget will not close when the page content is touched, after it was opened on a mobile device. You will need to call the close method when the panel needs to close.
public ResponsivePanelBuilder AutoClose(bool value)
The value for AutoClose
Returns:Returns the current ResponsivePanelBuilder instance.
Specifies the page width at which the widget will be hidden and its toggle button will become visible.
public ResponsivePanelBuilder Breakpoint(double value)
The value for Breakpoint
Returns:Returns the current ResponsivePanelBuilder instance.
The content of the responsive panel
public ResponsivePanelBuilder Content(string value)
The value for Content
Returns:Returns the current ResponsivePanelBuilder instance.
Configures the client-side events.
public ResponsivePanelBuilder Events(Action<ResponsivePanelEventBuilder> configurator)
The client events action.
Returns:Returns the current ResponsivePanelBuilder instance.
Specifies the nonce attribute that will be set to the inline style injected in the <head> tag containing the dynamic media query styles.
public ResponsivePanelBuilder Nonce(string value)
The value for Nonce
Returns:Returns the current ResponsivePanelBuilder instance.
Specifies the direction from which the hidden element will open up, once the toggle button has been activated
public ResponsivePanelBuilder Orientation(ResponsivePanelOrientation value)
The value for Orientation
Returns:Returns the current ResponsivePanelBuilder instance.
Sets the orientation of the ResponsivePanel.
public ResponsivePanelBuilder Orientation(string value)
The orientation
Returns:Returns the current ResponsivePanelBuilder instance.
Specifies the selector for the toggle button that will show and hide the responsive panel.
public ResponsivePanelBuilder ToggleButton(string value)
The value for ToggleButton
Returns:Returns the current ResponsivePanelBuilder instance.