Skip to main content
A newer version of this page is available. .
Tab

FileManagerFile Class

Represents an individual file within the ASPxFileManager control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public class FileManagerFile :
    FileManagerItem,
    IEquatable<FileManagerFile>

Remarks

The FileManagerFile class implements the functionality of an individual file within the ASPxFileManager control. The files, contained in a specific folder can be obtained using the FileManagerFolder.GetFiles method. To get the file’s parent folder use the FileManagerFile.Folder property. Each FileManagerFile object contains settings that define the file’s name (FileManagerItem.Name), full name (FileManagerItem.FullName), and name relative to the root folder (FileManagerItem.RelativeName).

The file extension can be accessed via the FileManagerFile.Extension property. You can specify extensions of files, allowed for display within the ASPxFileManager, using the FileManagerSettings.AllowedFileExtensions property.

To customize the appearance style of files, use the FileManagerStyles.File property.

ASPxFileManager - FileManagerFile

Note that the FileManagerFile class has a client-side equivalent - an object of the ASPxClientFileManagerFile type.

Inheritance

Object
FileManagerItem
FileManagerFile
See Also