menu

Blazor

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

    Show / Hide Table of Contents

    Class ActionCompleteEventArgs<TItem>

    Event argument for completion of remote or local data fetches in Syncfusion dropdown controls (ComboBox, DropDownList, etc.).

    Inheritance
    System.Object
    ActionCompleteEventArgs<TItem>
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ActionCompleteEventArgs<TItem> : Object
    Type Parameters
    Name Description
    TItem

    Type of individual item in the completion result set.

    Remarks

    Use ActionCompleteEventArgs<TItem> to examine result count, data collection, event type, and post-fetch status, including cancellation.

    Examples
    void OnActionComplete(ActionCompleteEventArgs<MyType> args) {
        if (args.Cancel) {
            // Prevent binding
        } else if (args.EventName == "load") {
            ResultsView = args.Result.ToList();
        }
    }

    Constructors

    ActionCompleteEventArgs()

    Declaration
    public ActionCompleteEventArgs()

    Properties

    Cancel

    Indicates whether the completion event should be cancelled (true blocks UI bind/update).

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

    true cancels; false allows normal operation.

    Count

    Gets or sets the total count of records related to the current completion.

    Declaration
    public double Count { get; }
    Property Value
    Type Description
    System.Double

    Total record count as double.

    EventName

    Gets or sets the name of the completed event or action for which this result was triggered.

    Declaration
    public string EventName { get; }
    Property Value
    Type Description
    System.String

    A string label for the completed event.

    Query

    Gets or sets the query used to fetch the data. This can be inspected for advanced scenario troubleshooting.

    Declaration
    public Query Query { get; }
    Property Value
    Type Description
    Query

    A Query instance for further inspection.

    Result

    Gets or sets the collection of data items resulting from the completion event.

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

    An enumeration of TItem containing the relevant data records.

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