Class DirectorySizeCalculator
Extracts size of directory from DirectoryBaseWrapper. Logic is not included in Size property to avoid slow data grid loading due to the size column.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.FileDialogs
Assembly: Telerik.Windows.Controls.FileDialogs.dll
Syntax
public class DirectorySizeCalculator : IValueConverter
Constructors
DirectorySizeCalculator()
Declaration
public DirectorySizeCalculator()
Methods
Convert(Object, Type, Object, CultureInfo)
Gets the size of the given DirectoryBaseWrapper represented in user-friendly string.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
The size of the directory as string. |
ConvertBack(Object, Type, Object, CultureInfo)
Not implemented.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|