[]
Represents a Binding converter that changes a sign of a numeric value.
public class ChangeSignConverter : IValueConverter
<xref href="C1.WPF.Schedule.ChangeSignConverter" data-throw-if-not-resolved="false"></xref> is a two-way converter. A source value must be
of a numeric type, and a converted value has the same type as a source value.
Name | Description |
---|---|
ChangeSignConverter() |
Name | Description |
---|---|
Default | Gets an instance of ChangeSignConverter. |
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. |