New to Telerik UI for WPFStart a free 30-day trial

Represents converter that converts IEnumerable to Visibility.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class EnumerableCountToVisibilityConverter : IValueConverter

Inheritance: objectEnumerableCountToVisibilityConverter

Implements: IValueConverter

Constructors

C#
public EnumerableCountToVisibilityConverter()

Methods

Converts IEnumerable to if the IEnumerable has at least as many items as the count specified by the parameter.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The IEnumerable of IOccurrences that will be used for conversion.

targetTypeType

This parameter is not used.

parameterobject

The count of items the IEnumerable must have in order to return Visibility.Visible".

cultureCultureInfo

This parameter is not used.

Returns:

object

A Visibility based on the IEnumerable items count.

This method is not implemented.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobjecttargetTypeTypeparameterobjectcultureCultureInfoReturns:

object

Remarks: