Called when the dockable window gains focus.

Namespace:  ESRI.ArcGISExplorer.Application
Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public virtual void OnActivate()
Visual Basic (Declaration)
Public Overridable Sub OnActivate

Remarks

This method will be called when the DockWindow gains focus following the user clicking on the associated Button in the Ribbon, or clicking anywhere within the DockWindow itself; if the DockWindow already has focus, this method is not called again. This method is also called after the window is shown, after the OnShow method. The corresponding OnDeactivate()()() method is called when the DockWindow loses focus.

A common use of this method is to update the DockWindow user interface when changes are required in response changes to state of the application, if those changes cannot be made in response to events.

See Also

Relate Topics:
  AccessibilityNotifyClients Method
  BeginInvoke Method
  Dispose Method
  GetChildAtPoint Method
  Invalidate Method
  Invoke Method
  MemberwiseClone Method
  OnDeactivate Method
  OnHide Method
  OnShow Method
  PerformLayout Method
  ResumeLayout Method
  RtlTranslateAlignment Method
  Scale Method
  Select Method
  SetBounds Method
  UpdateBounds Method
  Validate Method
  ValidateChildren Method
Created by Atop CHM to web converter,© 2009 all right reserved.