NullToVisibilityConverterConvert Method |
Converts a value to a
Visibility enumeration
value depending on whether the value is
.
Namespace: Kjs.AppLife.Update.Wpf.ConvertersAssembly: Kjs.AppLife.Update.Wpf (in Kjs.AppLife.Update.Wpf.dll) Version: 5.1.0.0 (5.1.0.0)
Syntaxpublic Object Convert(
Object value,
Type targetType,
Object parameter,
CultureInfo culture
)
Public Function Convert (
value As Object,
targetType As Type,
parameter As Object,
culture As CultureInfo
) As Object
public:
virtual Object^ Convert(
Object^ value,
Type^ targetType,
Object^ parameter,
CultureInfo^ culture
) sealed
abstract Convert :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
override Convert :
value : Object *
targetType : Type *
parameter : Object *
culture : CultureInfo -> Object
Parameters
- value
- Type: SystemObject
The value to convert. - targetType
- Type: SystemType
This parameter is not used. - parameter
- Type: SystemObject
If this parameter is the string "Invert",
inverts the behavior of the converter (treating as
not- and treating not- as ). - culture
- Type: System.GlobalizationCultureInfo
This parameter is not used.
Return Value
Type:
ObjectCollapsed if
value is
;
otherwise,
Visible. If
parameter is the string "Invert",
this behavior is reversed.
Implements
IValueConverterConvert(Object, Type, Object, CultureInfo)
See Also