Intersoft ClientUI 8 > ClientUI Fundamentals > Window and Dialog Boxes Overview > Window and Dialog Boxes How-to Topics > How-to: Hide a UXWindow |
This example shows how to hide a UXWindow.
To hide a window using property, you set the IsClientVisible property to False, such as shown in the following code.
C# |
Copy Code
|
---|---|
<Intersoft:UXWindow Header="UXWindow Title" IsClientVisible="False" Height="50" HorizontalAlignment="Left" Margin="106,230,0,0" Name="uXWindow1" VerticalAlignment="Top" Width="100"> <Grid> </Grid></Intersoft:UXWindow> |
To hide a window using API, you call the Hide method of the window instance.
The following example shows how to hide a window using API.
C# |
Copy Code
|
---|---|
uXWindow1.Hide(); |
Hiding window has slightly different process with closing window. To learn more about the differences, see Window and Dialog Boxes Overview |