skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class BaseComponent

Inheritance
System.Object
BaseComponent
AnimationBase
ButtonBase
DataBoundComponent<TItem>
DropZoneBase
TableSearchBox
IconBase
BindingComponentBase
LinearProgressBarBase
TelerikInputBase<T>
TelerikSliderBase<TValue>
TelerikUploadBase<TFileInfo>
DialogBase
GanttTaskBase<TItem>
GridLayoutChildBase
PdfViewerSearchPanel
TelerikAvatar
TelerikButtonGroup
TelerikCalendar
TelerikCard
TelerikCheckBoxListFilter
TelerikChip
TelerikChipList<TItem>
TelerikColorGradient
TelerikDateRangePicker<T>
TelerikDrawer<TItem>
TelerikFilter
TelerikFloatingLabel
TelerikForm
TelerikGantt<TItem>
TelerikGridLayout
TelerikLoader
TelerikLoaderContainer
TelerikMediaQuery
TelerikNotification
TelerikPager
TelerikPdfViewer
TelerikScheduler<TItem>
TelerikSkeleton
TelerikSplitter
TelerikStackLayout
TelerikStepper
TelerikTabStrip
TelerikTileLayout
TelerikToolBar
TelerikTooltip
TelerikWindow
TelerikWizard
ToolBarItemBase
TreeListAutoGeneratedColumns
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll

Syntax

public class BaseComponent : ComponentBase, IDisposable

Constructors

BaseComponent()

Declaration
public BaseComponent()

Properties

Class

The CSS class that will be rendered on the component's wrapping element.

Declaration
public string Class { get; set; }
Property Value
System.String

RootComponent

Declaration
public TelerikRootComponent RootComponent { get; set; }
Property Value
TelerikRootComponent

Methods

Dispose()

Declaration
public virtual void Dispose()

GetClassString(String[])

Declaration
protected string GetClassString(params string[] classNames)
Parameters
System.String[] classNames

Returns
System.String

HaveOptionsChanged(IDictionary<String, Object>, IDictionary<String, Object>)

Declaration
protected bool HaveOptionsChanged(IDictionary<string, object> oldOptions, IDictionary<string, object> newOptions)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object> oldOptions

System.Collections.Generic.IDictionary<System.String, System.Object> newOptions

Returns
System.Boolean

InitLocalizer()

Declaration
protected void InitLocalizer()

InvokeAsync<T>(String, Object[])

Declaration
protected virtual ValueTask<T> InvokeAsync<T>(string methodName, params object[] args)
Parameters
System.String methodName

System.Object[] args

Returns
System.Threading.Tasks.ValueTask<T>

Type Parameters
T

InvokeAsync<T>(String, CancellationToken, Object[])

Declaration
protected virtual ValueTask<T> InvokeAsync<T>(string methodName, CancellationToken cancellationToken, params object[] args)
Parameters
System.String methodName

System.Threading.CancellationToken cancellationToken

System.Object[] args

Returns
System.Threading.Tasks.ValueTask<T>

Type Parameters
T

InvokeComponentMethodAsync<T>(String, Object[])

Declaration
protected virtual ValueTask<T> InvokeComponentMethodAsync<T>(string methodName, params object[] args)
Parameters
System.String methodName

System.Object[] args

Returns
System.Threading.Tasks.ValueTask<T>

Type Parameters
T

InvokeComponentMethodAsync<T>(String, CancellationToken, Object[])

Declaration
protected virtual ValueTask<T> InvokeComponentMethodAsync<T>(string methodName, CancellationToken cancellationToken, params object[] args)
Parameters
System.String methodName

System.Threading.CancellationToken cancellationToken

System.Object[] args

Returns
System.Threading.Tasks.ValueTask<T>

Type Parameters
T

InvokeDisposeAsync()

Declaration
protected Task InvokeDisposeAsync()
Returns
System.Threading.Tasks.Task

InvokeVoidAsync(String, Object[])

Declaration
protected virtual ValueTask InvokeVoidAsync(string methodName, params object[] args)
Parameters
System.String methodName

System.Object[] args

Returns
System.Threading.Tasks.ValueTask

InvokeVoidComponentMethodAsync(String, Object[])

Declaration
protected virtual ValueTask InvokeVoidComponentMethodAsync(string methodName, params object[] args)
Parameters
System.String methodName

System.Object[] args

Returns
System.Threading.Tasks.ValueTask

OnAfterRenderAsync(Boolean)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean firstRender

Returns
System.Threading.Tasks.Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task

ShouldRender()

Declaration
protected override bool ShouldRender()
Returns
System.Boolean

StateHasChanged()

Declaration
protected virtual void StateHasChanged()

ThrowIfParameterIsNull(Object, String)

Declaration
protected void ThrowIfParameterIsNull(object argumentValue, string argumentName)
Parameters
System.Object argumentValue

System.String argumentName

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.