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






Represents the desktop user interface that can host a collection of IWindow elements.

Object Model

UXDesktop Class

Syntax

Visual Basic (Declaration) 
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)>
<DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")>
Public Class UXDesktop 
   Inherits Intersoft.Client.Framework.ISItemsControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXDesktop
C# 
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)]
[DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")]
public class UXDesktop : Intersoft.Client.Framework.ISItemsControl, IControlIFramework, ILicensing  
Delphi 
public class UXDesktop = class(Intersoft.Client.Framework.ISItemsControl, IControl, IFramework, ILicensing)
JScript 
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)
DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")
public class UXDesktop extends Intersoft.Client.Framework.ISItemsControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)]
[DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")]
public __gc class UXDesktop : public Intersoft.Client.Framework.ISItemsControl, IControlIFramework, ILicensing  
C++/CLI 
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)]
[DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")]
public ref class UXDesktop : public Intersoft.Client.Framework.ISItemsControl, IControlIFramework, ILicensing  

Example

The following example shows the XAML code to implement a simple desktop-style interface using UXDesktop and UXWindow control.
XAMLCopy Code
<Intersoft:UXPage
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:Intersoft="http://intersoft.clientui.com/schemas"
        mc:Ignorable="d"
        Title="UXDesktop1 Page"
        d:DesignWidth="640" d:DesignHeight="480">

        <Grid x:Name="LayoutRoot">
                <Intersoft:UXDesktop>
                        <Intersoft:UXWindow x:Name="wnd1" Header="UXWindow1 Title">
                            <Grid>
                                <TextBlock Text="Content for UXWindow1"/>
                            </Grid>
                        </Intersoft:UXWindow>
                        <Intersoft:UXWindow x:Name="wnd2" Header="UXWindow2 Title" IsActive="True">
                            <Grid>
                                <TextBlock Text="Content for UXWindow2"/>
                            </Grid>
                        </Intersoft:UXWindow>
                </Intersoft:UXDesktop>
        </Grid>
</Intersoft:UXPage>

Remarks

UXDesktop is an innovative control featuring sophisticated windows management and powerful application management capabilities. UXDesktop can host a collection of window controls ranging from normal window, modal dialog box, window chrome, and other window UI controls that implement IWindow interface.

With built-in windows management features, UXDesktop maintains the consistency of active window, such as seamlessly deactivates the other windows while a new window becomes active. It also provides numerous industry-standards windowing features such as automatic existing instances detection which enables existing window instance to be activated instead of launching a new window for the same object.

The UXDesktop manages the lifetime of all window instances, which includes the window arrangement, the window state management, the window events and command management.

For more information about using UXDesktop in details, see Window and Dialog Boxes Overview. For more information about advanced windowing topics, see Advanced Window Features.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.ISItemsControl
                     Intersoft.Client.UI.Aqua.UXDesktop.UXDesktop

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.