Convert Method (BooleanToVisibilityConverter)
Modifies the source data before passing it to the target for display in the UI.
Syntax
public override object Convert( object value, Type targetType, object parameter, CultureInfo culture )
Parameters
- value
- The source data being passed to the target.
- targetType
- The System.Type of data expected by the target dependency property.
- parameter
- An optional parameter to be used in the converter logic.
- culture
- The culture of the conversion.
Return Value
The value to be passed to the target dependency property.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also