Intersoft ClientUI Documentation
StartupLocation Enumeration
Example Example 



Determines the window location during startup.
Syntax
Public Enum StartupLocation 
   Inherits System.Enum
Dim instance As StartupLocation
public enum StartupLocation : System.Enum 
public enum class StartupLocation : public System.Enum 
Members
MemberDescription
Auto The window location will be determined automatically.
CenterOwner The window will be positioned in center relative to the owner/parent.
CenterScreen The window will be positioned in center relative to the screen.
Remarks
This enumeration is used by the UXWindow.WindowStartupLocation property which determines the position of the UXWindow during startup.
Example
The following example shows how to setup the window to appear with the position centered to the screen.
<Grid x:Name="LayoutRoot">
        <Intersoft:UXDesktop>
                <local:HomeWindow WindowName="wndHome" 
                                  IsActive="True"
                                  WindowStartupLocation="CenterScreen"/>
        </Intersoft:UXDesktop>
</Grid>
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Intersoft.Client.UI.Aqua.UXDesktop.StartupLocation

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

Intersoft.Client.UI.Aqua.UXDesktop Namespace

Send Feedback