BaseView Events
Serves as the base for objects representing Views in a grid control.
Name | Description |
---|---|
Before |
Occurs before a layout is restored from storage (a stream, xml file or the system registry). |
Click | Occurs when a View is clicked. |
Data |
Occurs when the data source of the current View changes. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
Double |
Occurs when a View is double-clicked. |
Got |
Occurs when a View receives focus. |
Invalid |
Enables you to provide a proper response to entering an invalid cell value. |
Key |
Fires when a user presses a key while the View has focus. |
Key |
Fires when a character key is pressed while the View has focus. |
Key |
Occurs when releasing the pressed key. |
Layout | Fires immediately after a View’s layout has been changed. |
Layout |
Occurs when a layout is restored from storage (a stream, xml file or system registry) and its version differs from the version of the current View’s layout. |
Lost |
Occurs when a View loses focus. |
Mouse |
Occurs when the mouse pointer is over a View and a mouse button is pressed. |
Mouse |
Occurs when the mouse pointer enters the View. |
Mouse |
Occurs when the mouse pointer leaves the View. |
Mouse |
Occurs when the mouse pointer moves over a View. |
Mouse |
Occurs when the mouse button is released if it was pressed within a View. |
Mouse |
Occurs when the mouse wheel is moved while a View has focus. |
Paint |
Fires after the View’s paint style has changed. |
Print |
Allows you to determine whether the view data was printed or exported without errors. |
Print |
Fires repeatedly while the View’s data is being printed/exported. |
Print |
Allows you to customize general print/export settings when the View is about to be printed/exported. |
Property |
Allows you to restore certain settings previously saved in the layout. |
Property |
Allows you to include certain settings in the layout when you save it. |
Row |
Occurs when the number of visible records is changed within a View. |
Validating |
Fires when a user edits a row cell value and attempts to select another cell. Handle this event to check whether this new value is valid, and if not, choose the required behavior (discard edits, show a warning message, ignore errors, or keep the focus on this cell until a user enters valid values). This event allows you to track edits made in the Edit Form. |
See Also