menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BeforeDataBoundArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BeforeDataBoundArgs<T>

    Provides information about an OnDataBound event.

    Inheritance
    System.Object
    GridEventBaseArgs
    BeforeDataBoundArgs<T>
    Inherited Members
    GridEventBaseArgs.PreventRender
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BeforeDataBoundArgs<T> : GridEventBaseArgs
    Type Parameters
    Name Description
    T

    TValue of the grid component.

    Constructors

    BeforeDataBoundArgs()

    Declaration
    public BeforeDataBoundArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the data binding process before it occurs in the grid.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false. If the Cancel property is set to true, then the data will not be bound in the grid.

    Count

    Gets the total number of data items that are bound to the grid.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    The total number of data items that are bound to the grid.

    Result

    Gets the list of CurrentViewData of the grid.

    Declaration
    public List<T> Result { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<T>

    The list of current view data.

    Remarks

    If the AllowPaging property is set to true, the view will display data based on the PageSize property. If AllowPaging is set to false, then all the items in the grid will be displayed.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved