-
Notifications
You must be signed in to change notification settings - Fork 3
Utils.IconSizeConverter
JaykeBird edited this page Feb 21, 2023
·
1 revision
Back to home | Back to Reference | View raw text
Forces the selection of a given size from the ICO file/resource. If the exact size does not exists, selects the closest smaller if possible otherwise closest higher resolution. If no parameter is given, the smallest frame available will be selected
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SolidShineUi.Utils
SolidShineUi.Utils.IconSizeConverter[[IconSizeConverter]]
end
subgraph System.Windows.Data
System.Windows.Data.IValueConverter[[IValueConverter]]
end
System.Windows.Data.IValueConverter --> SolidShineUi.Utils.IconSizeConverter
Returns | Name |
---|---|
object |
Convert (object value, Type targetType, object parameter, CultureInfo culture) |
object |
ConvertBack (object value, Type targetType, object parameter, CultureInfo culture)Not implemented, throws a NotImplementedException . |
Forces the selection of a given size from the ICO file/resource. If the exact size does not exists, selects the closest smaller if possible otherwise closest higher resolution. If no parameter is given, the smallest frame available will be selected
IValueConverter
public IconSizeConverter()
public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Type | Name | Description |
---|---|---|
object |
value | |
Type |
targetType | |
object |
parameter | |
CultureInfo |
culture |
public virtual object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Type | Name | Description |
---|---|---|
object |
value | |
Type |
targetType | |
object |
parameter | |
CultureInfo |
culture |
Not implemented, throws a NotImplementedException .
Generated with ModularDoc