Table of Contents

Field FileSizeFormat

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Specifies the format string used to display file sizes, where the first placeholder represents the size value and the second represents the unit.

public static string FileSizeFormat

Returns

string
Specifies the format string used to display file sizes, where the first placeholder represents the size value and the second represents the unit.

Remarks

This format string can be customized to control how file sizes are presented in output, allowing for localization or changes in unit representation (such as bytes, kilobytes, or megabytes). The default format displays the size with one decimal place followed by the unit.