Version

OnCellActivating Method

Occurs before a Cell is activated
Syntax
'Declaration
 
Protected Overridable Sub OnCellActivating( _
   ByVal args As CellActivatingEventArgs _
) 
protected virtual void OnCellActivating( 
   CellActivatingEventArgs 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