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






Specifies the item spacing for cascading window arrangement.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property CascadingSpace As Double
Visual Basic (Usage)Copy Code
Dim instance As UXDesktop
Dim value As Double
 
instance.CascadingSpace = value
 
value = instance.CascadingSpace
C# 
[CategoryAttribute("Common Properties")]
public double CascadingSpace {get; set;}
Delphi 
public read-write property CascadingSpace: Double; 
JScript 
CategoryAttribute("Common Properties")
public function get,set CascadingSpace : double
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property double get_CascadingSpace();
public: __property void set_CascadingSpace( 
   double value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property double CascadingSpace {
   double get();
   void set (    double value);
}

Example

The following example shows how to customize the default space between windows through the CascadingSpace property.
XAMLCopy Code
<Intersoft:UXDesktop Name="desktops" CascadingSpace="150">
    <Intersoft:UXWindow x:Name="wnd1" Header="UXWindow1 Title" IsActive="True" WindowStartupLocation="Auto">
        <Grid>
            <TextBlock Text="Content for UXWindow1"/>
        </Grid>
    </Intersoft:UXWindow>
    
    <Intersoft:UXWindow x:Name="wnd2" Header="UXWindow2 Title" IsClientVisible="True" WindowStartupLocation="Auto">
        <Grid>
            <TextBlock Text="Content for UXWindow2"/>
        </Grid>
    </Intersoft:UXWindow>
</Intersoft:UXDesktop>

Remarks

When the WindowStartupLocation property in UXWindow set to Auto, the desktop manager first checks for the Left and Top property of the window. If an exact location is not specified, the desktop manager automatically calculates the position from the last shown window and position the window cascaded against the previous position. The cascading space can be customized through CascadingSpace property.

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.