Intersoft ClientUI Documentation
IsClientVisible Property (UXWindow)
Example 



Specifies whether this window is visible at runtime.
Syntax
<CategoryAttribute("Common Properties")>
Public Property IsClientVisible As Boolean
Dim instance As UXWindow
Dim value As Boolean
 
instance.IsClientVisible = value
 
value = instance.IsClientVisible
[CategoryAttribute("Common Properties")]
public bool IsClientVisible {get; set;}
[CategoryAttribute("Common Properties")]
public:
property bool IsClientVisible {
   bool get();
   void set (    bool value);
}
Remarks

By default, a UXWindow is not automatically shown eventhough it is defined in the UXDesktop control, or when used independently.

To show a window, you set its IsClientVisible property to true. To hide a window using property, you set the IsClientVisible property to false. If you use MVVM pattern development, you can bind this property to control the window's visibility in your ViewModel. For more information about MVVM pattern, see MVVM Pattern Overview.

Example
The following example shows how to show a window when the desktop control is loaded.
<Intersoft:UXWindow x:Name="wnd1" Header="UXWindow1 Title" IsClientVisible="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