'Declaration Public Event PositionChanged As PositionChangeEventHandler
public event PositionChangeEventHandler PositionChanged
Event Data
The event handler receives an argument of type PositionChangeEventArgs containing data related to this event. The following PositionChangeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CurrencyManager | The CurrencyManager object managing current row position for the data member. |
DataMember | DataMember string identifying the member (node in master-detail hierarchy) that has changed current row position. |
NewPosition | Current row after position change. |
OldPosition | Current row before position change. |
Row | The row object that has become current. |
Remarks
Current row position is managed by the form containing this component, by its CurrencyManager object. Data bound controls interact with CurrencyManager to synchronize with current row position and request moving to a new row position.
Whenever current row position changes, the PositionChanged event fires. It allows you to associate business logic with changes in current row position.
See Also
Reference
BaseDataSourceComponent Class
BaseDataSourceComponent Members
C1DataSet Class
C1DataTableSource Class
C1ExpressTable Class
Position Property