EmptyStringToObjectConverter 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 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.
public class EmptyStringToObjectConverter : CommunityToolkit.WinUI.UI.Converters.EmptyObjectToObjectConverter
type EmptyStringToObjectConverter = class
inherit EmptyObjectToObjectConverter
Public Class EmptyStringToObjectConverter
Inherits EmptyObjectToObjectConverter
- Inheritance
- Derived
Constructors
EmptyStringToObjectConverter() |
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 string 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) |