Class EmptyStringToObjectConverter
This class converts a string value into a an object (if the value is null or empty returns the false value). Can be used to bind a visibility, a color or an image to the value of a string.
Inheritance
System.Object
    
    EmptyStringToObjectConverter
      
  Implements
Microsoft.UI.Xaml.Data.IValueConverter
  Inherited Members
Namespace: Syncfusion.UI.Xaml.Core
Assembly: Syncfusion.Core.WinUI.dll
Syntax
public class EmptyStringToObjectConverter : EmptyObjectToObjectConverter, IValueConverterConstructors
EmptyStringToObjectConverter()
Declaration
public EmptyStringToObjectConverter()Methods
CheckValueIsEmpty(Object)
Checks string 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 null or empty string, false otherwise. | 
Overrides
Implements
      Microsoft.UI.Xaml.Data.IValueConverter