Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SuccessEventArgs<TValue>

    Show / Hide Table of Contents

    Class SuccessEventArgs<TValue>

    Provides information about the OnSuccess event callback.

    Inheritance
    System.Object
    SuccessEventArgs<TValue>
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SuccessEventArgs<TValue> : Object
    Type Parameters
    Name Description
    TValue

    Specifies the TValue of FileManager events.

    Constructors

    SuccessEventArgs()

    Declaration
    public SuccessEventArgs()

    Properties

    Action

    Gets the name of the current success AJAX action in the FileManager component.

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

    This property can only be set internally by the component.

    AutoDialogClose

    Gets or sets a value whether the upload file dialog will be closed automatically or not after the upload action gets completed.

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

    true if the upload dialog will be closed automatically; otherwise, false. The default value is false.

    IsSelected

    Gets or sets a value indicating whether the uploaded file can be selected after the upload action will be completed successfully and rendered within the FileManager component.

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

    true, if the uploaded file will be selected. The default value is false.

    Result

    Gets or sets the AJAX details that are sent to server.

    Declaration
    public FileManagerResponse<TValue> Result { get; set; }
    Property Value
    Type Description
    FileManagerResponse<TValue>
    Remarks

    This allows the users to obtain response here.

    UploadResult

    Gets the result of the upload operation.

    Declaration
    public SuccessEventArgs UploadResult { get; }
    Property Value
    Type Description
    SuccessEventArgs
    Remarks

    This property can only be set internally by the component.

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