PanelBar
Kendo UI PanelBar component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class PanelBar : WidgetBase, IHtmlAttributesContainer, INavigationItemComponent<PanelBarItem>, INavigationItemContainer<PanelBarItem>
Inheritance: objectWidgetBasePanelBar
Implements:
Inherited Members
Constructors
PanelBar method.
public PanelBar(ViewContext viewContext, INavigationItemAuthorization authorization)
Properties
Animation member.
public ExpandableAnimation Animation { get; }
Authorization member.
public INavigationItemAuthorization Authorization { get; }
Implements:
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
public bool? AutoBind { get; set; }
Sets the field of the data item that provides the custom class for the icon element of the PanelBar nodes.
public string DataIconClassField { get; set; }
Sets the field of the data item that provides the icon name of the PanelBar nodes.
public string DataIconField { get; set; }
Sets the field of the data item that provides the image URL of the PanelBar nodes.
public string DataImageUrlField { get; set; }
Gets or sets the DataSource.
public DataSource DataSource { get; }
Gets or sets the DataSourceId.
public string DataSourceId { get; set; }
Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
public string DataSpriteCssClassField { get; set; }
Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
public string[] DataTextField { get; set; }
Sets the field of the data item that provides the link URL of the nodes.
public string DataUrlField { get; set; }
Specifies how the PanelBar items are displayed when opened and closed.
public PanelBarExpandMode? ExpandMode { get; set; }
HighlightPath member.
public bool HighlightPath { get; set; }
ItemAction member.
public Action<PanelBarItem> ItemAction { get; set; }
Implements:
Items member.
public IList<PanelBarItem> Items { get; }
Implements:
Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to false causes all child DataSources to be loaded at initialization time.
public bool? LoadOnDemand { get; set; }
The text messages displayed in the widget. Use it to customize or localize the messages.
public PanelBarMessagesSettings Messages { get; }
SecurityTrimming member.
public SecurityTrimming SecurityTrimming { get; set; }
Implements:
SelectedIndex member.
public int SelectedIndex { get; set; }
The handler that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: