CollectionToCollapsingVisibilityConverter

Name Value
Assembly Catel.MVVM
Namespace Catel.MVVM.Converters
Available on .NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS
public class CollectionToCollapsingVisibilityConverter : VisibilityConverterBase

Base types VisibilityConverterBase

Converts the count of a collection to the visibility.

Constructors

CollectionToCollapsingVisibilityConverter()

Initializes a new instance of the CollectionToCollapsingVisibilityConverter class.

CollectionToCollapsingVisibilityConverter(Visibility visibility)

Initializes a new instance of the CollectionToCollapsingVisibilityConverter class.

Parameters

Name Description
visibility The visibility.

Methods

IsVisible(object value, Type targetType, object parameter)

Determines whether the specified value is visible.

Parameters

Name Description
value The value.
targetType Type of the target.
parameter The parameter.

Returns

true if the specified value is visible; otherwise,false.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion