IconElementConverter.ConvertTo(ITypeDescriptorContext?, CultureInfo?, object?, Type) method¶
Defined in
Type: IconElementConverter
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
Summary: Converts the given value object to the specified type, using the specified context and culture information.
Parameters
| Name | Type | Description |
|---|---|---|
context | ITypeDescriptorContext? | An ITypeDescriptorContext that provides a format context. |
culture | CultureInfo? | A CultureInfo. If null is passed, the current culture is assumed. |
value | object? | The Object to convert. |
destinationType | Type | The Type to convert the value parameter to. |
Returns: object -- An Object that represents the converted value.