Intersoft ClientUI Documentation
UXDesktop Class
Members  Example 



Represents the desktop user interface that can host a collection of IWindow elements.
Object Model
UXDesktop ClassIWindow InterfaceUXDesktop ClassISFramework ClassStyleSelector ClassDataTemplateSelector ClassITaskBar Interface
Syntax
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)>
<DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")>
Public Class UXDesktop 
   Inherits Intersoft.Client.Framework.ISItemsControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing 
Dim instance As UXDesktop
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)]
[DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")]
public class UXDesktop : Intersoft.Client.Framework.ISItemsControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing  
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXDesktop.UXWindow)]
[DescriptionAttribute("Represents a desktop user interface that can host a collection of IWindow elements.")]
public ref class UXDesktop : public Intersoft.Client.Framework.ISItemsControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing  
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.

Example
The following example shows the XAML code to implement a simple desktop-style interface using UXDesktop and UXWindow control.
<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>
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 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

UXDesktop Members
Intersoft.Client.UI.Aqua.UXDesktop Namespace
Window and Dialog Boxes Overview

Send Feedback