Class NullConverter
This converter will return DependencyProperty.UnsetValue. This is useful for debugging bindings, but is not intended for use in normal context.
Implements
Inherited Members
Namespace: Phoenix.Aruba.Converters
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class NullConverter : IValueConverter
Methods
View SourceConvert(object, Type, object, CultureInfo)
Converts a given input value to DependencyProperty.UnsetValue. Not intended for use.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
object | value | The input value to be converted. |
Type | targetType | The parameter is not used. |
object | parameter | The parameter is not used. |
CultureInfo | culture | The parameter is not used. |
Returns
Type | Description |
---|---|
object | DependencyProperty.UnsetValue if the input value is null. Otherwise it returns the input value unchanged. |
ConvertBack(object, Type, object, CultureInfo)
The method is not used.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
object | value | The parameter is not used. |
Type | targetType | The parameter is not used. |
object | parameter | The parameter is not used. |
CultureInfo | culture | The parameter is not used. |
Returns
Type | Description |
---|---|
object | The return value is not used. |