EmptyObjectToObjectConverter 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 an object value into a an object (if the value is null returns the false value). Can be used to bind a visibility, a color or an image to the value of an object.
public class EmptyObjectToObjectConverter : Microsoft.UI.Xaml.DependencyObject, Microsoft.UI.Xaml.Data.IValueConverter
type EmptyObjectToObjectConverter = class
inherit DependencyObject
interface IValueConverter
Public Class EmptyObjectToObjectConverter
Inherits DependencyObject
Implements IValueConverter
- Inheritance
-
Microsoft.UI.Xaml.DependencyObjectEmptyObjectToObjectConverter
- Derived
- Implements
-
Microsoft.UI.Xaml.Data.IValueConverter
Constructors
EmptyObjectToObjectConverter() |
Fields
EmptyValueProperty |
Identifies the EmptyValue property. |
NotEmptyValueProperty |
Identifies the NotEmptyValue property. |
Properties
EmptyValue |
Gets or sets the value to be returned when the object is either null or empty |
NotEmptyValue |
Gets or sets the value to be returned when the object is neither null nor empty |
Methods
CheckValueIsEmpty(Object) |
Checks value for emptiness. |
Convert(Object, Type, Object, String) |
Convert a boolean value to an other object. |
ConvertBack(Object, Type, Object, String) |
Not implemented |