AppBar
Class
Kendo UI AppBar component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class AppBar : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseAppBar
Implements:
Inherited Members
Constructors
Initializes a new instance of the AppBar class.
C#
public AppBar(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
An array with objects representing the appbar items.
C#
public List<AppBarItem> Items { get; set; }
Defines where in the page the AppBar will be positioned
C#
public AppBarPosition? Position { get; set; }
Defines the type of positioning
C#
public AppBarPositionMode? PositionMode { get; set; }
Specifies the color of the component
C#
public AppBarThemeColor? ThemeColor { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: