Class
EnumerableCountToVisibilityConverter

Represents converter that converts IEnumerable to Visibility.

Definition

Namespace:Telerik.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class EnumerableCountToVisibilityConverter : IValueConverter

Inheritance: objectEnumerableCountToVisibilityConverter

Implements: IValueConverter

Constructors

EnumerableCountToVisibilityConverter()

Declaration

cs-api-definition
public EnumerableCountToVisibilityConverter()

Methods

Convert(object, Type, object, string)

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

Declaration

cs-api-definition
public object Convert(object value, Type targetType, object parameter, string language)

Parameters

value

object

The IEnumerable of IOccurrences that will be used for conversion.

targetType

Type

This parameter is not used.

parameter

object

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

language

string

Returns

object

A Visibility based on the IEnumerable items count.

ConvertBack(object, Type, object, string)

This method is not implemented.

Declaration

cs-api-definition
public object ConvertBack(object value, Type targetType, object parameter, string language)

Parameters

value

object

targetType

Type

parameter

object

language

string

Returns

object

Remarks

Throws NotImplementedException.