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

AppBar

Class

Kendo UI AppBar component

Definition

Constructors

Initializes a new instance of the AppBar class.

C#
public AppBar(ViewContext viewContext)
Parameters:viewContextViewContext

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

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)