Represents converter that converts null or empty string object to Visibility values .
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
C#
public class NullToVisibilityConverter : IValueConverter
Inheritance: objectNullToVisibilityConverter
Implements:
Constructors
C#
public NullToVisibilityConverter()
Methods
Converts object to Visibility.
C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
The object that will be used for conversion.
targetTypeTypeThis parameter is not used.
parameterobjectThis parameter is not used.
cultureCultureInfoThis parameter is not used.
Returns:Visibility presentation of the object.
Converts a value.
C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
The value that is produced by the binding target.
targetTypeTypeThe type to convert to.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe culture to use in the converter.
Returns:A converted value.
Remarks:
This method is not implemented. Throws NotImplementedException.