Class EmptyCollectionToObjectConverter
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.
Inheritance
System.Object
EmptyCollectionToObjectConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class EmptyCollectionToObjectConverter : EmptyObjectToObjectConverter, IValueConverter
Constructors
EmptyCollectionToObjectConverter()
Declaration
public EmptyCollectionToObjectConverter()
Methods
CheckValueIsEmpty(Object)
Checks collection for emptiness.
Declaration
protected override bool CheckValueIsEmpty(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value to be checked. |
Returns
Type | Description |
---|---|
System.Boolean | True if value is an empty collection or does not implement IEnumerable, false otherwise. |
Overrides
Implements
System.Windows.Data.IValueConverter