Intersoft ClientUI Documentation
GenerateEditingElement Method
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXGridViewTemplateColumn Class : GenerateEditingElement Method






cell
The cell that will contain the generated element.
dataItem
The data item represented by the row that contains the intended cell.
Gets an element defined by the CellEditingTemplate that is bound to the column's Binding property value.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function GenerateEditingElement( _
   ByVal cell As UXGridViewCell, _
   ByVal dataItem As Object _
) As FrameworkElement
Visual Basic (Usage)Copy Code
Dim instance As UXGridViewTemplateColumn
Dim cell As UXGridViewCell
Dim dataItem As Object
Dim value As FrameworkElement
 
value = instance.GenerateEditingElement(cell, dataItem)
C# 
protected override FrameworkElement GenerateEditingElement( 
   UXGridViewCell cell,
   object dataItem
)
Delphi 
protected function GenerateEditingElement( 
    cell: UXGridViewCell;
    dataItem: TObject
): FrameworkElement; override; 
JScript 
protected override function GenerateEditingElement( 
   cell : UXGridViewCell,
   dataItem : Object
) : FrameworkElement;
Managed Extensions for C++ 
protected: FrameworkElement* GenerateEditingElement( 
   UXGridViewCell* cell,
   Object* dataItem
) override 
C++/CLI 
protected:
FrameworkElement^ GenerateEditingElement( 
   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 editing element that is bound to the column's Binding property value.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.