IfElseConverter.Convert(Object, Type, Object, CultureInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convert a boolean value to either TrueValue or FalseValue.
public:
virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
- value
- Object
Value to convert.
- targetType
- Type
- parameter
- Object
- culture
- CultureInfo
Returns
Value of TrueValue for this converter if value
is true,
or value of FalseValue otherwise.