Class InvertAngleConverter
Converter to change the rotation angle value as inverse of it.
Inheritance
System.Object
InvertAngleConverter
Implements
System.Windows.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class InvertAngleConverter : Object, IValueConverter
Constructors
InvertAngleConverter()
Declaration
public InvertAngleConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Method to convert given angle to 360 degree revers of it.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value that converted to inverse of it. |
System.Type | targetType | Target type value. |
System.Object | parameter | Object parameter value. |
System.Globalization.CultureInfo | language | Culture info value. |
Returns
Type | Description |
---|---|
System.Object | Returns reverse angle value , if value is composite transform; otherwise retun zero. |
ConvertBack(Object, Type, Object, CultureInfo)
Method to convert given angle to 360 degree revers of it.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value that converted to inverse of it. |
System.Type | targetType | Target type value. |
System.Object | parameter | Object parameter value. |
System.Globalization.CultureInfo | language | Culture info value. |
Returns
Type | Description |
---|---|
System.Object | Throws exception. |
Implements
System.Windows.Data.IValueConverter