Class FieldDragActionToSourceConverter
An System.Windows.Data.IValueConverter that converts a FieldDragAction to System.Uri. Generally used to display icons.
Inheritance
Namespace: Telerik.Windows.Controls.FieldList
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public class FieldDragActionToSourceConverter : Object, IValueConverter
Constructors
FieldDragActionToSourceConverter()
Declaration
public FieldDragActionToSourceConverter()
Properties
ColumnSource
Gets or set an System.Uri that the Convert(Object, Type, Object, CultureInfo) would return for MoveToColumns.
Declaration
public Uri ColumnSource { get; set; }
Property Value
System.Uri
|
FilterSource
Gets or set an System.Uri that the Convert(Object, Type, Object, CultureInfo) would return for MoveToFilters.
Declaration
public Uri FilterSource { get; set; }
Property Value
System.Uri
|
RemoveSource
Gets or set an System.Uri that the Convert(Object, Type, Object, CultureInfo) would return for Remove.
Declaration
public Uri RemoveSource { get; set; }
Property Value
System.Uri
|
RowSource
Gets or set an System.Uri that the Convert(Object, Type, Object, CultureInfo) would return for MoveToRows.
Declaration
public Uri RowSource { get; set; }
Property Value
System.Uri
|
ValueSource
Gets or set an System.Uri that the Convert(Object, Type, Object, CultureInfo) would return for MoveToValues.
Declaration
public Uri ValueSource { get; set; }
Property Value
System.Uri
|
Methods
Convert(Object, Type, Object, CultureInfo)
Converts a FieldDragAction to System.Uri based on ValueSource, RowSource, ColumnSource, FilterSource, RemoveSource.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
System.Object
value
The value to convert. Expected FieldDragAction. |
System.Type
targetType
The type of the binding target property. |
System.Object
parameter
The converter parameter to use. |
System.Globalization.CultureInfo
culture
The culture to use in the converter. |
Returns
System.Object
An System.Uri. |
ConvertBack(Object, Type, Object, CultureInfo)
Not implemented. Throws System.NotImplementedException.
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
|