alexa
menu

Blazor

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

    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
    object
    ActionCompleteEventArgs<TItem>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ActionCompleteEventArgs<TItem>
    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
    [JsonPropertyName("cancel")]
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool

    true cancels; false allows normal operation.

    Count

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

    Declaration
    [JsonPropertyName("count")]
    public double Count { get; }
    Property Value
    Type Description
    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
    [JsonPropertyName("eventName")]
    public string EventName { get; }
    Property Value
    Type Description
    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
    IEnumerable<TItem>

    An enumeration of TItem containing the relevant data records.

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