[]
Represents a Binding converter that changes a sign of each member of Thickness.
[ValueConversion(typeof(Thickness), typeof(Thickness))]
public class ChangeThicknessSignConverter : IValueConverter
<xref href="C1.WPF.Schedule.ChangeThicknessSignConverter" data-throw-if-not-resolved="false"></xref> is a two-way converter. The source value
must be a Thickness object, and the converted value is a Thickness where all edges has a thickness with the opposite sign.
Name | Description |
---|---|
ChangeThicknessSignConverter() |
Name | Description |
---|---|
Default | Gets an instance of ChangeThicknessSignConverter. |
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. |