Represents a Binding converter that returns a Boolean value indicating whether a
source value is null or a string containing zero or more space characters only, or
a not empty string.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
[ValueConversionAttribute(typeof(string), typeof(bool))] public class IsEmptyOrSpaceStringConverter : IValueConverter |
Visual Basic (Declaration) |
---|
<ValueConversionAttribute(GetType(String), GetType(Boolean))> _ Public Class IsEmptyOrSpaceStringConverter _ Implements IValueConverter |
Remarks
IsEmptyOrSpaceStringConverter is a one-way converter. A target value
returned by the converter is true if a source value is null or a zero length string
or a string containing space characters only; otherwise, a target value is false.