Version

OnCellActivated Method

Occurs after a Cell has been activated
Syntax
'Declaration
 
Protected Overridable Sub OnCellActivated( _
   ByVal args As CellActivatedEventArgs _
) 
protected virtual void OnCellActivated( 
   CellActivatedEventArgs args
)

Parameters

args
Remarks

Making a Cell the ActiveCell will automatically make its corresponding DataRecord the ActiveRecord.

Note: Once the Cell is activated you can cause it to enter edit mode by calling ExecuteCommand(RoutedCommand) with the DataPresenterCommands' DataPresenterCommands.StartEditMode command. The cell will only enter edit mode if its corresponding Field's Field.AllowEditResolved returns true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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