[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.ColumnValueConverter.-ctor

ColumnValueConverter Constructor

ColumnValueConverter()

Initializes a new instance of a ColumnValueConverter.

Declaration
public ColumnValueConverter()

ColumnValueConverter(IDictionary)

Initializes a new instance of a ColumnValueConverter based on a dictionary.

Declaration
public ColumnValueConverter(IDictionary dictionary)
Parameters
Type Name Description
IDictionary dictionary

Dictionary that contains the data (key) and display values for a grid column.

ColumnValueConverter(ICollection, bool)

Initializes a new instance of a ColumnValueConverter based on a simple value list.

Declaration
public ColumnValueConverter(ICollection values, bool exclusive)
Parameters
Type Name Description
ICollection values

List with valid values for a grid column.

bool exclusive

Whether the column may contain values not included in the values list.

ColumnValueConverter(IEnumerable, string, string)

Initializes a new instance of a ColumnValueConverter based on an object collection.

Declaration
public ColumnValueConverter(IEnumerable values, string valuePath, string displayMemberPath)
Parameters
Type Name Description
IEnumerable values

Collection of objects that contain the key and display values for the column.

string valuePath

Name of the property that contains the values stored in the grid.

string displayMemberPath

Name of the property that contains the values displayed in the grid.