Class TextToIntegerConverter
Converter to handle integer values based string values.
Inheritance
System.Object
TextToIntegerConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class TextToIntegerConverter : Object, IValueConverter
Constructors
TextToIntegerConverter()
Declaration
public TextToIntegerConverter()
Methods
Convert(Object, Type, Object, String)
To convert integer value as string.
Declaration
public object Convert(object value, Type targetType, object parameter, string culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Gets integer value to convert as string type values. |
System.Type | targetType | Gets target type value. |
System.Object | parameter | Gets object parameter |
System.String | culture | Gets culture info value. |
Returns
Type | Description |
---|---|
System.Object | Retunrs string value of integer value. |
ConvertBack(Object, Type, Object, String)
To convert back string values into integer value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Gets integer value to convert as string. |
System.Type | targetType | Gets target type value. |
System.Object | parameter | Gets object parameter values. |
System.String | culture | Gets culture info value. |
Returns
Type | Description |
---|---|
System.Object | Returns integer value. |
Implements
Windows.UI.Xaml.Data.IValueConverter