ArcGIS Explorer Component Help |
Popup..::.Activate Method |
Popup Class See Also |
Shows the popup window and gives it focus; any visible popup windows that are not pinned will be hidden.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void Activate() |
Visual Basic (Declaration) |
---|
Public Sub Activate |
Remarks
Use this method to show a popup window and give it focus. The ArcGIS Explorer application has a constraint that only a single popup window can be both visible and active at any time; consequently the previously active popup will lose focus when the Activate method is called. Users can control the visibility of popups by using the pin symbol in the top right corner of the window. "Pinning" a popup causes the window to stay visible when a another popup is activated; if a popup is not pinned it will automatically be hidden when another popup is activated.
In summary, the Activate method:
- Shows the popup window and gives it focus
- Deactivates the previously active popup
- Hides any popup windows that are not pinned
Exceptions
Exception | Condition |
---|---|
System..::.InvalidOperationException | A MapItem must be added to the map in order for its associated popup to be activated; a temporary popup requires an MapDisplay |