Intersoft ClientUI Documentation
IsActive Property (UXWindow)
Example 



Gets or sets the active state of the window.
Syntax
<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")]
public:
property bool IsActive {
   bool get();
   void set (    bool value);
}
Remarks

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.

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

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

Reference

UXWindow Class
UXWindow Members
Window and Dialog Boxes Overview

Send Feedback