[]
        
(Showing Draft Content)

C1.WPF.Schedule.NumberToStringConverter

NumberToStringConverter Class

Represents a Binding converter that converts an integer value to one of its string representations.

Inheritance
NumberToStringConverter
Implements
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
[ValueConversion(typeof(int), typeof(string))]
public class NumberToStringConverter : IValueConverter
Remarks
<xref href="C1.WPF.Schedule.NumberToStringConverter" data-throw-if-not-resolved="false"></xref> is a two-way converter. A source value 

must be a number, and a target value is a string that represents the integer.

Constructors

Name Description
NumberToStringConverter()

Fields

Name Description
Default

Gets an instance of NumberToStringConverter.

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.

ConvertBack(object, Type, object, CultureInfo)

Converts a value. The data binding engine calls this method when it propagates a value from the binding target to the binding source.