Definition
Namespace:Telerik.Blazor.Components.Common
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public abstract class DataBoundComponent<TItem> : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<TItem>
Derived Classes:
Implements:
Inherited Members
Constructors
protected DataBoundComponent()
Properties
Data
IEnumerable<TItem>
Provides the data source for the component, containing the items to be displayed in the PanelBar. Can be any IEnumerable collection such as List, Array, or ObservableCollection of your data model objects. The component automatically updates when the data changes if using ObservableCollection. Example: myDataList, employees, or categories.
[Parameter]
public IEnumerable<TItem> Data { get; set; }
Methods
public override void Dispose()
Overrides:
Implements:
Processes the available data with applied all data operations. Useful in scenarios where the data might change from an outside source. If the component contains OnRead, the method triggers the event so that fresh data can be supplied.
public virtual void Rebind()
public override Task SetParametersAsync(ParameterView parameters)
Overrides: