[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridDataMap

GridDataMap Class

Represents a data map for use with the column's dataMap property.

Inheritance
GridDataMap
Implements
Namespace: C1.Blazor.Grid
Assembly: C1.Blazor.Grid.dll
Syntax
public class GridDataMap : IDependencyObject
Remarks

Data maps provide the grid with automatic look up capabilities. For example, you may want to display a customer name instead of his ID, or a color name instead of its RGB value.

Constructors

Name Description
GridDataMap()

Fields

Name Description
DisplayMemberPathProperty
ItemsSourceProperty
SelectedValuePathProperty

Properties

Name Description
DataCollection

Gets the inner data collection.

DisplayMemberPath

The name of the property to use as the visual representation of the items.

ItemsSource

Gets or sets the collection of items to map.

SelectedValuePath

The name of the property that contains the keys (data values).

Methods

Name Description
GetDisplayValue(object)

Gets the display value corresponding to the specified selected value.

GetKeyValue(object)

Gets the key value corresponding to the specified display value.