menu

Blazor

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

    Show / Hide Table of Contents

    Class ItemRenameEventArgs<TValue>

    Provides information about the ItemRenaming event callback.

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

    Specifies the TValue of FileManager events.

    Constructors

    ItemRenameEventArgs()

    Declaration
    public ItemRenameEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to cancel the corresponding rename action.

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

    'true' if the rename action must be cancelled; otherwise 'false'.

    Remarks

    Rename action for specific files can be restricted using this option.

    File

    Gets the details of the file or folder in which the rename action is executed.

    Declaration
    public TValue File { get; }
    Property Value
    Type Description
    TValue

    Represents the details of item to be renamed.

    Remarks

    The old name of the renaming file can be retrieved here.

    NewName

    Gets or sets the new name of a file or folder.

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

    Represents the new name of a file or folder.

    Path

    Gets the path for the FileManager component.

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

    Represents the relative or absolute path of the directory.

    Response

    Gets or sets the rename action result.

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

    Represents the rename action result.

    ShowFileExtension

    Gets or sets a value indicating whether to show file extensions.

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

    Represents a value indicating whether to show file extensions.

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