Intersoft ClientUI Documentation
How-to: Open a UXWindow from UXDesktopDockButton

This example shows how to open a UXWindow from UXDesktopDockButton.

Example

Description

When using UXWindow in desktop-integrated mode, you can open a new window based on physical XAML by setting the ApplicationUri property of the UXDesktopDockButton.

The following example shows how to show a window based on a target URI.

Code

C#
Copy Code
<Intersoft:UXDesktop TaskBar="{Binding ElementName=desktopDock, Mode=OneWay}" />

<Intersoft:UXDesktopDock x:Name="desktopDock">
        <Intersoft:UXDesktopDockButton Text="Home" 
                                       ApplicationUri="/Views/HomeWindow.xaml"
                                       Icon="/Home.png"/>
</Intersoft:UXDesktopDock>
See Also

Concepts

Other Resources