BoolToObjectConverter 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 boolean value into an other object. Can be used to convert true/false to visibility, a couple of colors, couple of images, etc.
public class BoolToObjectConverter : Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.Data.IValueConverter
type BoolToObjectConverter = class
inherit DependencyObject
interface IValueConverter
Public Class BoolToObjectConverter
Inherits DependencyObject
Implements IValueConverter
- Inheritance
-
Windows.UI.Xaml.DependencyObjectBoolToObjectConverter
- Derived
- Implements
-
Windows.UI.Xaml.Data.IValueConverter
Constructors
BoolToObjectConverter() |
Fields
FalseValueProperty |
Identifies the FalseValue property. |
TrueValueProperty |
Identifies the TrueValue property. |
Properties
FalseValue |
Gets or sets the value to be returned when the boolean is false |
TrueValue |
Gets or sets the value to be returned when the boolean is true |
Methods
Convert(Object, Type, Object, String) |
Convert a boolean value to an other object. |
ConvertBack(Object, Type, Object, String) |
Convert back the value to a boolean |