EmptyCollectionToObjectConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |