Edit

Share via


CollectionVisibilityConverter Class

Definition

This class converts a collection size to visibility.

public class CollectionVisibilityConverter : CommunityToolkit.WinUI.UI.Converters.EmptyCollectionToObjectConverter
type CollectionVisibilityConverter = class
    inherit EmptyCollectionToObjectConverter
Public Class CollectionVisibilityConverter
Inherits EmptyCollectionToObjectConverter
Inheritance
Microsoft.UI.Xaml.DependencyObject
CollectionVisibilityConverter

Constructors

CollectionVisibilityConverter()

Initializes a new instance of the CollectionVisibilityConverter class.

Properties

EmptyValue

Gets or sets the value to be returned when the object is either null or empty

(Inherited from EmptyObjectToObjectConverter)
NotEmptyValue

Gets or sets the value to be returned when the object is neither null nor empty

(Inherited from EmptyObjectToObjectConverter)

Methods

CheckValueIsEmpty(Object)

Checks collection for emptiness.

(Inherited from EmptyCollectionToObjectConverter)
Convert(Object, Type, Object, String)

Convert a boolean value to an other object.

(Inherited from EmptyObjectToObjectConverter)
ConvertBack(Object, Type, Object, String)

Not implemented

(Inherited from EmptyObjectToObjectConverter)

Applies to