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