Class
PanelBarItemRenderEventArgs

Provides event data during the rendering of each PanelBar item, allowing you to apply conditional styling and custom CSS classes. Use this to dynamically modify the appearance of items based on their data properties, state, or business logic. The event fires for each item during component rendering, giving you complete control over individual item styling.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class PanelBarItemRenderEventArgs : PanelBarEventArgsBase

Inheritance: objectPanelBarEventArgsBasePanelBarItemRenderEventArgs

Inherited Members PanelBarEventArgsBase.Item

Constructors

PanelBarItemRenderEventArgs()

Declaration

cs-api-definition
public PanelBarItemRenderEventArgs()

Properties

Class

Specifies additional CSS classes to apply to the PanelBar item element. Use this to add conditional styling, visual indicators, or theme variations based on the item's data. Multiple classes can be specified separated by spaces. Example: "important highlighted custom-style".

Declaration

cs-api-definition
public string Class { get; set; }

Property Value

string