StringVisibilityConverter 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 Visibility value (if the value is null or empty returns a collapsed value).
public class StringVisibilityConverter : CommunityToolkit.WinUI.UI.Converters.EmptyStringToObjectConverter
type StringVisibilityConverter = class
inherit EmptyStringToObjectConverter
Public Class StringVisibilityConverter
Inherits EmptyStringToObjectConverter
- Inheritance
-
Microsoft.UI.Xaml.DependencyObjectStringVisibilityConverter
Constructors
StringVisibilityConverter() |
Initializes a new instance of the StringVisibilityConverter class. |
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. (Inherited from EmptyStringToObjectConverter) |
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) |