Class TypeToVisibilityConverter
Represents a converter that compares a value to a type and returns a Visibility.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.FieldList.Editing
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public class TypeToVisibilityConverter : IValueConverter
Constructors
TypeToVisibilityConverter()
Declaration
public TypeToVisibilityConverter()
Properties
ComparisonType
Gets or sets the ComparisonType to compare.
Declaration
public Type ComparisonType { get; set; }
Property Value
System.Type
|
Visibility
Gets or sets the visibility option.
Declaration
public TypeVisibility Visibility { get; set; }
Property Value
TypeVisibility
|
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a ComparisonType to Visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The type to convert. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
This parameter is not used. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
System.Windows.Visibility.Visible if |
ConvertBack(Object, Type, Object, CultureInfo)
This method is not implemented.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
This parameter is not used. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
This parameter is not used. |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
This method is not implemented. |