alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class ItemRenameEventArgs<TValue>

    Provides information about the ItemRenaming event callback.

    Inheritance
    object
    ItemRenameEventArgs<TValue>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ItemRenameEventArgs<TValue>
    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
    bool

    '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
    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
    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
    bool

    Represents a value indicating whether to show file extensions.

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