[]
Represents a Binding converter that converts an integer value to one of its string representations.
[ValueConversion(typeof(int), typeof(string))]
public class NumberToStringConverter : IValueConverter
NumberToStringConverter is a two-way converter. A source value must be a number, and a target value is a string that represents the integer.
| Name | Description |
|---|---|
| NumberToStringConverter() |
| Name | Description |
|---|---|
| Default | Gets an instance of NumberToStringConverter. |
| 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. |