[]
        
(Showing Draft Content)

C1.WPF.Schedule.ChangeThicknessSignConverter

ChangeThicknessSignConverter Class

Represents a Binding converter that changes a sign of each member of Thickness.

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

Constructors

Name Description
ChangeThicknessSignConverter()

Fields

Name Description
Default

Gets an instance of ChangeThicknessSignConverter.

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.