Class EnumerableCountToVisibilityConverter
Represents converter that converts System.Collections.IEnumerable to System.Windows.Visibility.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class EnumerableCountToVisibilityConverter : Object, IValueConverter
Constructors
EnumerableCountToVisibilityConverter()
Declaration
public EnumerableCountToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts System.Collections.IEnumerable to System.Windows.Visibility.Visible if the IEnumerable has at least as many items as the count specified by the parameter.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The IEnumerable of IOccurrences that will be used for conversion. |
System.Type
targetType
This parameter is not used. |
System.Object
parameter
The count of items the IEnumerable must have in order to return Visibility.Visible". |
System.Globalization.CultureInfo
culture
This parameter is not used. |
Returns
System.Object
A System.Windows.Visibility based on the System.Collections.IEnumerable items count. |
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
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
Remarks
Throws System.NotImplementedException.