Class PathConverter
Converter to handle boolean values based on shape path values.
Inheritance
System.Object
PathConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class PathConverter : Object, IValueConverter
Constructors
PathConverter()
Declaration
public PathConverter()
Methods
Convert(Object, Type, Object, String)
To convert shape path values into boolean values.
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Gets object value to convert boolean. |
System.Type | targetType | Gets target type. |
System.Object | parameter | Gets object parameter. |
System.String | language | Gets culture info value. |
Returns
Type | Description |
---|---|
System.Object | Returns false, when objects are null; Otherwise retunrs true. |
ConvertBack(Object, Type, Object, String)
To convert boolean values into shape path values.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Gets object value to convert boolean. |
System.Type | targetType | Gets target type. |
System.Object | parameter | Gets object parameter. |
System.String | language | Gets culture info value. |
Returns
Type | Description |
---|---|
System.Object | Returns path value. |
Implements
Windows.UI.Xaml.Data.IValueConverter