Version

ActiveRecord Property

Gets/sets the active Record
Syntax
'Declaration
 
Public Property ActiveRecord As Record
public Record ActiveRecord {get; set;}
Remarks

Changing the ActiveRecord will automatically clear the ActiveCell. Also, if this property is set to a DataRecord then the ActiveDataItem property will be synchronized to the record's DataRecord.DataItem value.

If the ActiveCell is in edit mode changing the ActiveRecord will cause the cell to end edit mode.

Note: Since Record is an abstract base class for DataRecord, GroupByRecord and ExpandableFieldRecord you may have to cast this property to the appropiate derived class to access specific properties, e.g. the DataRecord's DataRecord.Cells collection.

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