Edit

Share via


EmptyCollectionToObjectConverter Class

Definition

This class converts a collection size into an other object. Can be used to convert to bind a visibility, a color or an image to the size of the collection.

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

Constructors

EmptyCollectionToObjectConverter()

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.

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