BoolToVisibilityConverter Class
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.
C#
public class BoolToVisibilityConverter : Microsoft.Toolkit.Uwp.UI.Converters.BoolToObjectConverter
type BoolToVisibilityConverter = class
inherit BoolToObjectConverter
Public Class BoolToVisibilityConverter
Inherits BoolToObjectConverter
- Inheritance
Bool |
Initializes a new instance of the BoolToVisibilityConverter class. |
False |
Gets or sets the value to be returned when the boolean is false (Inherited from BoolToObjectConverter) |
True |
Gets or sets the value to be returned when the boolean is true (Inherited from BoolToObjectConverter) |
Convert(Object, Type, Object, String) |
Convert a boolean value to an other object. (Inherited from BoolToObjectConverter) |
Convert |
Convert back the value to a boolean (Inherited from BoolToObjectConverter) |
Produit | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |