Class ValueToIndexConverter
Represents a converter that converts value to index.
Inheritance
System.Object
ValueToIndexConverter
Implements
Windows.UI.Xaml.Data.IValueConverter
Namespace: Syncfusion.UI.Xaml.Schedule
Assembly: Syncfusion.SfSchedule.UWP.dll
Syntax
public class ValueToIndexConverter : Object, IValueConverter
Constructors
ValueToIndexConverter()
Declaration
public ValueToIndexConverter()
Methods
Convert(Object, Type, Object, String)
Converts a value to index
Declaration
public object Convert(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type |
---|
System.Object |
ConvertBack(Object, Type, Object, String)
Converts an index to a value.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, string language)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.String | language |
Returns
Type |
---|
System.Object |
Implements
Windows.UI.Xaml.Data.IValueConverter