Attempts to activate the application window by bringing it to the foreground and setting the input focus to it.
Assembly: System.Windows (in System.Windows.dll)
'Declaration <SecuritySafeCriticalAttribute> _ Public Function Activate As Boolean
[SecuritySafeCriticalAttribute] public bool Activate()
true if the window was successfully activated; otherwise, false.
The rules that determine whether the window is activated are the same as those used by the Win32 SetForegroundWindow function (User32.dll).
Use the IsActive property to determine whether the window is already active.
Supported in: 5, 4
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.