Intersoft ClientUI Documentation
StartupLocation Enumeration
Example  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDesktop Namespace : StartupLocation Enumeration






Determines the window location during startup.

Syntax

Visual Basic (Declaration) 
Public Enum StartupLocation 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As StartupLocation
C# 
public enum StartupLocation : System.Enum 
Delphi 
public enum StartupLocation = class(System.Enum)
JScript 
public enum StartupLocation extends System.Enum
Managed Extensions for C++ 
__value public enum StartupLocation : public System.Enum 
C++/CLI 
public enum class StartupLocation : public System.Enum 

Members

MemberDescription
AutoThe window location will be determined automatically.
CenterOwnerThe window will be positioned in center relative to the owner/parent.
CenterScreenThe window will be positioned in center relative to the screen.

Example

The following example shows how to setup the window to appear with the position centered to the screen.
XAMLCopy Code
<Grid x:Name="LayoutRoot">
        <Intersoft:UXDesktop>
                <local:HomeWindow WindowName="wndHome" 
                                  IsActive="True"
                                  WindowStartupLocation="CenterScreen"/>
        </Intersoft:UXDesktop>
</Grid>

Remarks

This enumeration is used by the UXWindow.WindowStartupLocation property which determines the position of the UXWindow during startup.

Inheritance Hierarchy

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

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.