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

editingElement
The element that the column displays for a cell in editing mode.
editingEventArgs
Information about the user gesture that is causing a cell to enter editing mode.
When overridden in a derived class, sets cell content as needed for editing.

Syntax

Visual Basic (Declaration) 
Protected Overrides NotOverridable Function PrepareCellForEdit( _
   ByVal editingElement As FrameworkElement, _
   ByVal editingEventArgs As RoutedEventArgs _
) As Object
C# 
protected override object PrepareCellForEdit( 
   FrameworkElement editingElement,
   RoutedEventArgs editingEventArgs
)

Parameters

editingElement
The element that the column displays for a cell in editing mode.
editingEventArgs
Information about the user gesture that is causing a cell to enter editing mode.

Return Value

Derived classes return the unedited cell value. This implementation returns null in all cases.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.