Class IndexConverter
Converts a zero based integer index to natural index. 0 -> 1, 1 -> 2, 2 -> 3, etc. Parameter can be used for setting bigger step. Default step is 1.
Inheritance
System.Object
IndexConverter
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class IndexConverter : Object, IValueConverter
Constructors
IndexConverter()
Declaration
public IndexConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts an int by incrementing it by 1.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|
ConvertBack(Object, Type, Object, CultureInfo)
Not implemented.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
|
System.Type
targetType
|
System.Object
parameter
|
System.Globalization.CultureInfo
culture
|
Returns
System.Object
|