Class EmptyStringToVisibilityConverter
Converts an string to System.Windows.Visibility. If the string is null or empty the Null value is returned.
Inheritance
System.Object
System.Windows.Markup.MarkupExtension
NullConverter<System.Windows.Visibility>
EmptyStringToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Converter
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class EmptyStringToVisibilityConverter : NullOrEmptyConverter<string, Visibility>, IValueConverter
Constructors
View SourceEmptyStringToVisibilityConverter()
Initializes a new instance of the EmptyStringToVisibilityConverter class.
Declaration
public EmptyStringToVisibilityConverter()
Properties
View SourceIsEmptyPredicate
A predicate determining if an object is empty.
Declaration
protected override Func<string, bool> IsEmptyPredicate { get; }
Property Value
Type | Description |
---|---|
System.Func<System.String, System.Boolean> |
Overrides
Sartorius.SAF.Presentation.Converter.NullOrEmptyConverter<System.String, System.Windows.Visibility>.IsEmptyPredicate
Implements
System.Windows.Data.IValueConverter