Class
TelerikAppBar

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TelerikAppBar : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikAppBar

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikAppBar()

Declaration

cs-api-definition
public TelerikAppBar()

Properties

ChildContent

The content of the AppBar.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Height

Defines the height of the appbar.

Declaration

cs-api-definition
[Parameter]
public string Height { get; set; }

Property Value

string

Position

Defines where in the page the AppBar will be positioned. Valid options are: None: Does not add specific positioning syles. (Default value) Top: Postions the AppBar at the top of the page / closest relative container. Bottom: Postions the AppBar at the bottom of the page / closest relative container.

Declaration

cs-api-definition
[Parameter]
public AppBarPosition Position { get; set; }

Property Value

AppBarPosition

PositionMode

Defines the type of positioning. Valid options are: Static: positions the AppBar according to the normal flow of the page. (Default value) Sticky: sticks the AppBar to a given position(top or bottom). Fixed: positions the AppBar relative to the viewport.

Declaration

cs-api-definition
[Parameter]
public AppBarPositionMode PositionMode { get; set; }

Property Value

AppBarPositionMode

ThemeColor

Specifies the theme color of the AppBar. Default value is Primary.

Declaration

cs-api-definition
[Parameter]
public string ThemeColor { get; set; }

Property Value

string

Width

Defines the width of the appbar.

Declaration

cs-api-definition
[Parameter]
public string Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Refresh()

Re-renders the component.

Declaration

cs-api-definition
public void Refresh()