[]
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.
[ValueConversion(typeof(string), typeof(bool))]
public class IsEmptyOrSpaceStringConverter : IValueConverter
<xref href="C1.WPF.Schedule.IsEmptyOrSpaceStringConverter" data-throw-if-not-resolved="false"></xref> 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.
Name | Description |
---|---|
IsEmptyOrSpaceStringConverter() |
Name | Description |
---|---|
Default | Gets an instance of IsEmptyOrSpaceStringConverter. |
Name | Description |
---|---|
Convert(object, Type, object, CultureInfo) | Converts a value. The data binding engine calls this method when it propagates a value from the binding source to the binding target. |