[]
        
(Showing Draft Content)

C1.WPF.Schedule.IsEmptyOrSpaceStringConverter

IsEmptyOrSpaceStringConverter Class

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.

Inheritance
IsEmptyOrSpaceStringConverter
Implements
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
[ValueConversion(typeof(string), typeof(bool))]
public class IsEmptyOrSpaceStringConverter : IValueConverter
Remarks
<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.

Constructors

Name Description
IsEmptyOrSpaceStringConverter()

Fields

Name Description
Default

Gets an instance of IsEmptyOrSpaceStringConverter.

Methods

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.