Class TypeOfConverter
Converts a value to its Type.
Implements
Inherited Members
Namespace: PresentationTheme.AeroLite.Win10
Assembly: PresentationTheme.AeroLite.Win10.dll
Syntax
[ValueConversion(typeof(object), typeof(Type))]
public sealed class TypeOfConverter : IValueConverter
Methods
| Improve this Doc View SourceConvert(Object, Type, Object, CultureInfo)
Converts a value to its Type.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value produced by the binding source. |
Type | targetType | The type of the binding target property. |
Object | parameter | The converter parameter to use. Not used. |
CultureInfo | culture | The culture to use in the converter. Not used. |
Returns
Type | Description |
---|---|
Object | The Type of |
Explicit Interface Implementations
| Improve this Doc View SourceIValueConverter.ConvertBack(Object, Type, Object, CultureInfo)
Declaration
object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
Object | value | |
Type | targetType | |
Object | parameter | |
CultureInfo | culture |
Returns
Type | Description |
---|---|
Object |