alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SfDataBoundComponent

    Represents the base component for all Syncfusion Blazor data-bound components. Provides common functionality for data binding, data operations, and component lifecycle management.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    SfDataBoundComponent
    Chart3DDataBoundComponent
    SfChart3D
    ChartExportSettings
    ChartSettings
    SfChartWizard
    AccumulationChartAnnotation
    AccumulationChartAnnotations
    AccumulationChartSeries
    ChartCommonSelectedData
    ChartDataBoundComponent
    RangeNavigatorSeries
    SfAccumulationChart
    SfChart
    SfRangeNavigator
    SfSmithChart
    SfSparkline<TValue>
    SfStockChart
    SmithChartSeries
    StockChartSeries
    StockChartTrendline
    DataSourceSettings
    AutoCompleteFieldSettings
    ComboBoxFieldSettings
    DropDownListFieldSettings
    MultiSelectFieldSettings
    SfDropDownBase<T>
    GanttColumn
    GanttEditDialogField
    GanttEditDialogFields
    GanttHoliday
    GanttSplitterSettings
    SfGantt<TValue>
    GridAggregate
    GridColumn
    GridColumnChooserSettings
    GridColumns
    GridFilterSettings
    GridGroupSettings
    GridPageSettings
    GridSearchSettings
    GridSortSettings
    SfGrid<TValue>
    KanbanCardSettings
    KanbanColumn
    KanbanColumns
    KanbanDialogSettings
    KanbanDialogSettingsField
    KanbanDialogSettingsFields
    KanbanSortSettings
    KanbanStackedHeader
    KanbanStackedHeaders
    KanbanSwimlaneSettings
    KanbanTemplates
    SfKanban<TValue>
    MapsBubble<TValue>
    MapsLayer<TValue>
    MapsMarker<TValue>
    SfMultiColumnComboBox<TValue, TItem>
    PivotFieldListDataSourceSettings<TValue>
    PivotViewDataSourceSettings<TValue>
    PivotViewDisplayOption
    PivotViewPageSettings
    SfPivotFieldList<TValue>
    SfPivotView<TValue>
    QueryBuilderColumn
    SfQueryBuilder<TValue>
    ScheduleEventSettings<TValue>
    ScheduleResource<TValue, TItem>
    ScheduleView
    ScheduleViewGroup
    ScheduleViewTimeScale
    SfTreeGrid<TValue>
    TreeGridAggregate
    TreeGridColumn
    TreeGridFilterSettings
    TreeGridSearchSettings
    TreeGridSortSettings
    SfTreeMap<TValue>
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public abstract class SfDataBoundComponent : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    SfDataBoundComponent()

    Declaration
    protected SfDataBoundComponent()

    Properties

    DataManager

    Gets or sets the DataManager instance for data operations.

    Declaration
    [JsonIgnore]
    public DataManager? DataManager { get; set; }
    Property Value
    Type
    DataManager

    MainParent

    Gets or sets the main parent component reference.

    Declaration
    protected virtual SfBaseComponent? MainParent { get; set; }
    Property Value
    Type
    SfBaseComponent

    Methods

    OnAfterRenderAsync(bool)

    Method invoked after each time the component has been rendered.

    Declaration
    protected override Task OnAfterRenderAsync(bool firstRender)
    Parameters
    Type Name Description
    bool firstRender

    Set to true if this is the first time OnAfterRenderAsync(bool) has been invoked on this component instance; otherwise false.

    Returns
    Type Description
    Task

    A Task representing any asynchronous operation.

    Overrides
    SfBaseComponent.OnAfterRenderAsync(bool)

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A Task representing any asynchronous operation.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

    A Task representing any asynchronous operation.

    Overrides
    ComponentBase.OnParametersSetAsync()

    SetDataManager<T>(object)

    Sets up the DataManager for the component based on the provided data source.

    Declaration
    protected object SetDataManager<T>(object dataSource)
    Parameters
    Type Name Description
    object dataSource

    The data source to bind. Can be an IEnumerable, IQueryable, or a DataManager instance.

    Returns
    Type Description
    object

    The configured DataManager instance or the original data source if it's already a DataManager.

    Type Parameters
    Name Description
    T

    The type of the data source elements.

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved