-
Notifications
You must be signed in to change notification settings - Fork 3
Utils.FilePathToIconConverter
JaykeBird edited this page Feb 21, 2023
·
4 revisions
Back to home | Back to Reference | View raw text
Converts a fully-qualified file path into a 16x16 icon for display in XAML.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi.Utils
SolidShineUi.Utils.FilePathToIconConverter[[FilePathToIconConverter]]
end
subgraph System.Windows.Data
System.Windows.Data.IValueConverter[[IValueConverter]]
end
System.Windows.Data.IValueConverter --> SolidShineUi.Utils.FilePathToIconConverter
Returns | Name |
---|---|
object |
Convert (object value, Type targetType, object parameter, CultureInfo culture)Converts a file's full path to a 16x16 BitmapSource icon. |
object |
ConvertBack (object value, Type targetType, object parameter, CultureInfo culture)This is not implemented. Throws a NotImplementedException . |
Converts a fully-qualified file path into a 16x16 icon for display in XAML.
IValueConverter
public FilePathToIconConverter()
public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Type | Name | Description |
---|---|---|
object |
value | |
Type |
targetType | |
object |
parameter | |
CultureInfo |
culture |
Converts a file's full path to a 16x16 BitmapSource icon.
public virtual object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Type | Name | Description |
---|---|---|
object |
value | |
Type |
targetType | |
object |
parameter | |
CultureInfo |
culture |
This is not implemented. Throws a NotImplementedException .
Generated with ModularDoc