Defines the fluent API for configuring the Kendo ResponsivePanel for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ResponsivePanelBuilder : WidgetBuilderBase<ResponsivePanel, ResponsivePanelBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ResponsivePanel, ResponsivePanelBuilder>ResponsivePanelBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ResponsivePanel class.
public ResponsivePanelBuilder(ResponsivePanel component)
The component.
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 that configures the autoclose.
Returns: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 that configures the breakpoint.
Returns:Sets the HTML content which the panel will hide.
public ResponsivePanelBuilder Content(Action value)
The action which renders the content.
Returns:Sets the HTML content which the panel will hide as a string.
public ResponsivePanelBuilder Content(string value)
The action which renders the content.
Returns:Configures the client-side events.
public ResponsivePanelBuilder Events(Action<ResponsivePanelEventBuilder> configurator)
The client events action.
Returns: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 that configures the nonce.
Returns: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 that configures the orientation.
Returns:Specifies the selector for the toggle button that will show and hide the responsive panel.
public ResponsivePanelBuilder ToggleButton(string value)
The value that configures the togglebutton.
Returns: