Intersoft ClientUI Documentation
IsActive Property
See Also  Example Send Feedback
Intersoft.Client.UI.Aqua.UXDesktop Namespace > UXWindow Class : IsActive Property






Gets or sets the active state of the window.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property IsActive As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXWindow
Dim value As Boolean
 
instance.IsActive = value
 
value = instance.IsActive
C# 
[CategoryAttribute("Common Properties")]
public bool IsActive {get; set;}
Delphi 
public read-write property IsActive: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set IsActive : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_IsActive();
public: __property void set_IsActive( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool IsActive {
   bool get();
   void set (    bool value);
}

Example

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

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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.