ArcGIS API for WPF - Library Reference
GenerateElement Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit Namespace > CodedValueDomainColumn Class : GenerateElement Method

cell
The cell that will contain the generated element.
dataItem
The data item represented by the row that contains the intended cell.
When overridden in a derived class, gets a read-only element that is bound to the column's System.Windows.Controls.DataGridBoundColumn.Binding property value.

Syntax

Visual Basic (Declaration) 
Protected Overrides NotOverridable Function GenerateElement( _
   ByVal cell As DataGridCell, _
   ByVal dataItem As Object _
) As FrameworkElement
C# 
protected override FrameworkElement GenerateElement( 
   DataGridCell cell,
   object dataItem
)

Parameters

cell
The cell that will contain the generated element.
dataItem
The data item represented by the row that contains the intended cell.

Return Value

A new, read-only element that is bound to the column's System.Windows.Controls.DataGridBoundColumn.Binding property value.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.