Class OrthogonalControlPointToBooleanConverter
Represents the converter that converts the ControlPointType enumerationeration values to boolean, if the Diagram Thumb's ControlPointType is of Orthogonal type.
Inheritance
System.Object
OrthogonalControlPointToBooleanConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class OrthogonalControlPointToBooleanConverter : Object, IValueConverter
Constructors
OrthogonalControlPointToBooleanConverter()
Declaration
public OrthogonalControlPointToBooleanConverter()
Methods
Convert(Object, Type, Object, String)
To convert the ControlPointType enumerationeration values to boolean.
Declaration
public object Convert(object value, Type targetType, object parameter, string culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Gets ControlPointType value. |
System.Type | targetType | Gets target type value. |
System.Object | parameter | Gets object parameter value. |
System.String | culture | Gets culture info value. |
Returns
Type | Description |
---|---|
System.Object | Returns true, if the Diagram Thumb's ControlPointType is of Orthogonal type; Otherwise retuns false. |
ConvertBack(Object, Type, Object, String)
To convert the boolean value into ControlPointType enumerationeration values.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Gets ControlPointType value. |
System.Type | targetType | Gets target type value. |
System.Object | parameter | Gets object parameter value. |
System.String | culture | Gets culture info value. |
Returns
Type | Description |
---|---|
System.Object | Throws exception. |
Implements
Windows.UI.Xaml.Data.IValueConverter