Intersoft ClientUI Documentation
IsActive Property (UXWindow)

Gets or sets the active state of the window.
<CategoryAttribute("Common Properties")>
Public Property IsActive As Boolean
Dim instance As UXWindow
Dim value As Boolean
instance.IsActive = value
value = instance.IsActive
[CategoryAttribute("Common Properties")]
public bool IsActive {get; set;}
[CategoryAttribute("Common Properties")]
property bool IsActive {
   bool get();
   void set (    bool value);

In desktop-integrated mode, only one window can be active at a time. When a window is set as active, the desktop manager automatically deactivates the previously active window.

When a window is set to active, its visual state will be changed to Active state. The related events such as Deactivated and Activated will be raised consecutively.

The following example shows how to set IsActive property in UXWindow.
<Intersoft:UXWindow x:Name="wnd1" Header="UXWindow1 Title" IsActive="True">
        <TextBlock Text="Content for UXWindow1"/>

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


UXWindow Class
UXWindow Members
Window and Dialog Boxes Overview

Send Feedback