String |
The StringToObjectConverter type exposes the following members.
Name | Description | |
---|---|---|
StringToObjectConverter | Initializes a new instance of the StringToObjectConverter class |
Name | Description | |
---|---|---|
ConvertBackErrorValue |
Gets or sets the error value, which is returned whenever the value to convert back produces an error; the default is UnsetValue.
(Inherited from ValueConverter) | |
ConvertBackNullValue |
Gets or sets the null value, which is returned whenever the value to convert back is null; the default is null.
(Inherited from ValueConverter) | |
ConvertBackUnsetValue |
Gets or sets the unset value, which is returned whenever the value to convert back is UnsetValue; the default is UnsetValue.
(Inherited from ValueConverter) | |
ConvertErrorValue |
Gets or sets the error value, which is returned whenever the value to convert produces an error; the default is UnsetValue.
(Inherited from ValueConverter) | |
ConvertNullValue |
Gets or sets the null value, which is returned whenever the value to convert is null; the default is null.
(Inherited from ValueConverter) | |
ConvertUnsetValue |
Gets or sets the unset value, which is returned whenever the value to convert is UnsetValue; the default is UnsetValue.
(Inherited from ValueConverter) | |
TypeConverterType | Gets or sets the type of the type converter to use. If no type is specified, the type converter will be deduced form the target type. |
Name | Description | |
---|---|---|
Convert |
Converts a value. Null or UnSet are unchanged.
(Overrides ValueConverterConvert(Object, Type, Object, CultureInfo)) | |
ConvertBack |
Converts a value.
(Overrides ValueConverterConvertBack(Object, Type, Object, CultureInfo)) | |
ProvideValue |
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
(Inherited from ValueConverter) |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |