This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INAWindow Interface > INAWindow.DelayWindowUpdates Method (ArcObjects .NET 10.5 SDK) |
Indicates if window updates should be delayed.
[Visual Basic .NET] Public Sub DelayWindowUpdates ( _ ByVal flag As Boolean _ )
[C#] public void DelayWindowUpdates ( bool flag );
DelayWindowUpdates notifies the NAWindow whether or not to respond to items getting added or deleted in the NAWindow's treeview.
In it's default state, every time an item in the NAWindow's treeview is added, deleted, or moved the treeview is recalcuated. If it is known upfront that a lot of changes are going to be made, the process should be to pass True into DelayWindowUpdates, make the changes, and then pass in False to DelayWindowUpdates.