ClassRoundFileSizeConverter
Class
A converter that received a long value for file size and returns is formatted.
Definition
Namespace:Telerik.WinControls.FileDialogs
Assembly:Telerik.WinControls.UI.dll
Syntax:
cs-api-definition
public class RoundFileSizeConverter
Inheritance: objectRoundFileSizeConverter
Constructors
RoundFileSizeConverter()
Declaration
cs-api-definition
public RoundFileSizeConverter()
Methods
ConvertToString(long?, object)
Converts a file size value (long) to a string with value (number) (modifier) where 1<number<1024 and modifier is bytes/KB/MB/GB/TB. Parameter can be set to "KB" and the method would return the value converted only to KB.