Assembly: ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public virtual void OnSelectionChange( ComboItem item ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub OnSelectionChange ( _ item As ComboItem _ ) |
Parameters
Remarks
The OnUpdate method is called periodically by the framework once the ComboBox has been loaded, for example when the Tab where the ComboBox is displayed is shown. This provides an opportunity to run some code periodically within your customization.
One typical use of OnUpdate is to determine and set the Enabled property of the ComboBox if using application conditions does not provide sufficient control; note that it is more efficient to make use of application conditions if possible.
Another typical use of OnUpdate for a ComboBox is to update the Items in the ComboBox based on the state of the application; refer to the Items property for more information.
Note that as OnUpdate may be called frequently you should avoid lengthy operations in this method, as this would reduce the responsiveness of the application user interface.