BoolToVisibilityConverter 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 a Visibility enumeration.
public class BoolToVisibilityConverter : Microsoft.Toolkit.Uwp.UI.Converters.BoolToObjectConverter
type BoolToVisibilityConverter = class
inherit BoolToObjectConverter
Public Class BoolToVisibilityConverter
Inherits BoolToObjectConverter
- Inheritance
Constructors
BoolToVisibilityConverter() |
Initializes a new instance of the BoolToVisibilityConverter class. |
Properties
FalseValue |
Gets or sets the value to be returned when the boolean is false (Inherited from BoolToObjectConverter) |
TrueValue |
Gets or sets the value to be returned when the boolean is true (Inherited from BoolToObjectConverter) |
Methods
Convert(Object, Type, Object, String) |
Convert a boolean value to an other object. (Inherited from BoolToObjectConverter) |
ConvertBack(Object, Type, Object, String) |
Convert back the value to a boolean (Inherited from BoolToObjectConverter) |