New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ResponsivePanel component

Definition

Constructors

Initializes a new instance of the ResponsivePanel class.

C#
public ResponsivePanel(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

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.

C#
public bool? AutoClose { get; set; }

Specifies the page width at which the widget will be hidden and its toggle button will become visible.

C#
public double? Breakpoint { get; set; }

The content of the responsive panel

C#
public string Content { get; set; }

Specifies the nonce attribute that will be set to the inline style injected in the <head> tag containing the dynamic media query styles.

C#
public string Nonce { get; set; }

Specifies the direction from which the hidden element will open up, once the toggle button has been activated

C#
public ResponsivePanelOrientation? Orientation { get; set; }

Specifies the selector for the toggle button that will show and hide the responsive panel.

C#
public string ToggleButton { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)