Intersoft ClientUI Documentation
GenerateElement Method (UXGridViewTemplateColumn)



The cell that will contain the generated element.
The data item represented by the row that contains the intended cell.
Gets an element defined by the CellTemplate that is bound to the column's Binding property value.
Syntax
Protected Overrides Function GenerateElement( _
   ByVal cell As UXGridViewCell, _
   ByVal dataItem As Object _
) As FrameworkElement
Dim instance As UXGridViewTemplateColumn
Dim cell As UXGridViewCell
Dim dataItem As Object
Dim value As FrameworkElement
 
value = instance.GenerateElement(cell, dataItem)
protected override FrameworkElement GenerateElement( 
   UXGridViewCell cell,
   object dataItem
)
protected:
FrameworkElement^ GenerateElement( 
   UXGridViewCell^ cell,
   Object^ dataItem
) override 

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 Binding property value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXGridViewTemplateColumn Class
UXGridViewTemplateColumn Members

Send Feedback