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

Represents a base implementation for panel bar items that provides hierarchical navigation functionality.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PanelBarItemBase

Inheritance: objectPanelBarItemBase

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the PanelBarItemBase class.

C#
public PanelBarItemBase()

Initializes a new instance of the PanelBarItemBase class with the specified view context.

C#
[Obsolete("This constructor is obsolete. Use the parameterless constructor")]
public PanelBarItemBase(ViewContext viewContext)
Parameters:viewContextViewContext

The view context used to retrieve services.

Properties

Configures the custom content for the panel bar item.

C#
public string Content { get; set; }

Configures the HTML attributes for the content element of the panel bar item.

C#
public object ContentHtmlAttributes { get; set; }

Configures the URL from which to load content for the panel bar item dynamically.

C#
public string ContentUrl { get; set; }

Indicates whether the panel bar item is enabled and can be interacted with.

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

Indicates whether the text content of the panel bar item should be HTML encoded.

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

Indicates whether the panel bar item is expanded to show its child items.

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

Configures the icon for the panel bar item.

C#
public string Icon { get; set; }

Configures the CSS class name for the icon of the panel bar item.

C#
public string IconClass { get; set; }

Configures the HTML attributes for the image element of the panel bar item.

C#
public object ImageHtmlAttributes { get; set; }

Configures the URL of the image to display for the panel bar item.

C#
public string ImageUrl { get; set; }

Configures the child panel bar items for creating hierarchical panel structures.

C#
public IEnumerable<PanelBarItemBase> Items { get; set; }

Configures the HTML attributes for the link element of the panel bar item.

C#
public object LinkHtmlAttributes { get; set; }

Indicates whether the panel bar item is currently selected.

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

Configures the display text for the panel bar item.

C#
public string Text { get; set; }

Configures the URL that the panel bar item navigates to when clicked.

C#
public string Url { get; set; }

Indicates whether the panel bar item is visible.

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

Methods

Converts the current panel bar item to a tag helper instance.

C#
[Obsolete]
public PanelBarItemTagHelper ConvertToTagHelper()
Returns:

PanelBarItemTagHelper

A PanelBarItemTagHelper instance with the same property values.