C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : AfterDataRefresh Event |
'Declaration
<C1DescriptionAttribute("Fires after any data source change notifications.")> Public Event AfterDataRefresh As ListChangedEventHandler
'Usage
Dim instance As C1FlexGridBase Dim handler As ListChangedEventHandler AddHandler instance.AfterDataRefresh, handler
[C1Description("Fires after any data source change notifications.")] public event ListChangedEventHandler AfterDataRefresh
[C1Description("Fires after any data source change notifications.")] public: event ListChangedEventHandler^ AfterDataRefresh
The event handler receives an argument of type ListChangedEventArgs containing data related to this event. The following ListChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ListChangedType | |
NewIndex | |
OldIndex | |
PropertyDescriptor |
When the grid is used in bound mode, any changes to the data source cause the grid to fire the AfterDataRefresh event. This event is the ideal place to put code that updates the grid with data-dependent elements such as subtotals and outline trees.
Note: The System.ComponentModel.ListChangedEventHandler delegate is defined in the System.ComponentModel namespace.
Target Platforms: Windows 7, 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