PanelBarItemBase
Represents a base implementation for panel bar items that provides hierarchical navigation functionality.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
public class PanelBarItemBase
Inheritance: objectPanelBarItemBase
Inherited Members
Constructors
Initializes a new instance of the PanelBarItemBase class.
public PanelBarItemBase()
Initializes a new instance of the PanelBarItemBase class with the specified view context.
[Obsolete("This constructor is obsolete. Use the parameterless constructor")]
public PanelBarItemBase(ViewContext viewContext)
The view context used to retrieve services.
Properties
Configures the custom content for the panel bar item.
public string Content { get; set; }
Configures the HTML attributes for the content element of the panel bar item.
public object ContentHtmlAttributes { get; set; }
Configures the URL from which to load content for the panel bar item dynamically.
public string ContentUrl { get; set; }
Indicates whether the panel bar item is enabled and can be interacted with.
public bool? Enabled { get; set; }
Indicates whether the text content of the panel bar item should be HTML encoded.
public bool? Encoded { get; set; }
Indicates whether the panel bar item is expanded to show its child items.
public bool? Expanded { get; set; }
Configures the CSS class name for the icon of the panel bar item.
public string IconClass { get; set; }
Configures the HTML attributes for the image element of the panel bar item.
public object ImageHtmlAttributes { get; set; }
Configures the URL of the image to display for the panel bar item.
public string ImageUrl { get; set; }
Configures the child panel bar items for creating hierarchical panel structures.
public IEnumerable<PanelBarItemBase> Items { get; set; }
Configures the HTML attributes for the link element of the panel bar item.
public object LinkHtmlAttributes { get; set; }
Indicates whether the panel bar item is currently selected.
public bool? Selected { get; set; }
Configures the URL that the panel bar item navigates to when clicked.
public string Url { get; set; }
Methods
Converts the current panel bar item to a tag helper instance.
[Obsolete]
public PanelBarItemTagHelper ConvertToTagHelper()
A PanelBarItemTagHelper instance with the same property values.