Tab
A newer version of this page is available. Switch to the current version.

FileManagerItem.Name Property

Gets the name of the current item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public string Name { get; }

Property Value

Type Description
String

A String value that specifies the item's name.

Remarks

The Name property specifies the name of the current item. In order to obtain the full or relative item's name, use the FileManagerItem.FullName and FileManagerItem.RelativeName property respectively.

Examples

The code below demonstrates how you can show information about folder contents in a label.

public string ItemsNumberToString(int count, string item) {
        if (count != 1) item = item + "s";
        return count.ToString() + " " + item;
}
protected void ASPxFil