Class DisplayMemberConverter
Derived from IValueConverter which returns display text by reflection data based on DisplayMemberPath and SelectedValuePath.
Inheritance
System.Object
DisplayMemberConverter
Implements
System.Windows.Data.IValueConverter
System.IDisposable
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class DisplayMemberConverter : Object, IValueConverter, IDisposable
Constructors
DisplayMemberConverter()
Declaration
public DisplayMemberConverter()
DisplayMemberConverter(GridColumnBase)
Declaration
public DisplayMemberConverter(GridColumnBase column)
Parameters
Fields
dynamicHelper
Helper to reflect dynamic types. This maintains the cache for faster reflection
Declaration
protected DynamicHelper dynamicHelper
Field Value
Type |
Syncfusion.Dynamic.DynamicHelper |
Methods
Convert(Object)
Declaration
protected virtual object Convert(object selectedValue)
Parameters
Type |
Name |
Description |
System.Object |
selectedValue |
|
Returns
Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
targetType |
|
System.Object |
parameter |
|
System.Globalization.CultureInfo |
culture |
|
Returns
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
targetType |
|
System.Object |
parameter |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Implements
System.Windows.Data.IValueConverter
System.IDisposable