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

Kendo UI ResponsivePanel TagHelper ResponsivePanelTagHelper class.

Definition

Constructors

Initializes a new instance of the ResponsivePanelTagHelper class.

C#
public ResponsivePanelTagHelper(IKendoHtmlGenerator generator)
Parameters:generatorIKendoHtmlGenerator

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; }

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; }

The name of the JavaScript function that will handle the close event. Triggered before the responsive panel is closed. Cancellable.

C#
public string OnClose { get; set; }

The name of the JavaScript function that will handle the open event. Triggered before the responsive panel is opened. Cancellable.

C#
public string OnOpen { get; set; }

Specifies the direction from which the hidden element will open up, once the toggle button has been activated. Valid values are "left", "right", and "top".

C#
public string 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

Gets the initialization script.

C#
protected override string GetInitializationScript()
Returns:

string

The initialization script.

Overrides: TagHelperBase.GetInitializationScript()

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

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

IDictionary<string, object>

Overrides: TagHelperBase.Serialize()

SerializeEvents method.

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

Dictionary<string, object>

Overrides: TagHelperBase.SerializeEvents()

SerializeSettings method.

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

Dictionary<string, object>

Overrides: TagHelperBase.SerializeSettings()

Writes the HTML output.

C#
protected override void WriteHtml(TagHelperOutput output)
Parameters:outputTagHelperOutput

The TagHelper output.

Overrides: TagHelperBase.WriteHtml(TagHelperOutput)