Class InvertAngleConverter
Converter to change the rotation angle value as inverse of it.
Inheritance
System.Object
InvertAngleConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class InvertAngleConverter : Object, IValueConverter
Constructors
InvertAngleConverter()
Declaration
public InvertAngleConverter()
Methods
Convert(Object, Type, Object, String)
Method to convert given angle to 360 degree revers of it.
Declaration
public object Convert(object value, Type targetType, object parameter, string 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.String | 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, String)
Method to convert given angle to 360 degree revers of it.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string 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.String | language | Culture info value. |
Returns
Type | Description |
---|---|
System.Object | Throws exception. |
Implements
Windows.UI.Xaml.Data.IValueConverter