EmptyStringToVisibilityConverterConvert Method |
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 String to convert. - targetType
- Type: SystemType
This parameter is not used. - parameter
- Type: SystemObject
If this parameter is the string "Collapsed",
the converter will return Collapsed instead of
Hidden for an empty string. - culture
- Type: System.GlobalizationCultureInfo
This parameter is not used.
Return Value
Type:
ObjectVisible if
value contains text,
or
Hidden if
value is
or an empty
String. If
parameter is the string
"Collapsed", the converter will return
Collapsed instead
of
Hidden.
Implements
IValueConverterConvert(Object, Type, Object, CultureInfo)
See Also