EmptyStringToCollapsingVisibilityConverter

Name Value
Assembly Catel.MVVM
Namespace Catel.MVVM.Converters
Available on .NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS
public class EmptyStringToCollapsingVisibilityConverter : VisibilityConverterBase

Base types VisibilityConverterBase

Convert from string to. If the string is not null or empty, Visibility.Visible will be returned. If the string is null or empty, Visibility.Collapsed will be returned.

Constructors

EmptyStringToCollapsingVisibilityConverter()

Initializes a new instance of the EmptyStringToCollapsingVisibilityConverter class.

Methods


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion