Intersoft ClientUI 8 > ClientUI Fundamentals > Window and Dialog Boxes Overview > Window and Dialog Boxes How-to Topics > How-to: Open a UXWindow from UXDesktopDockButton |
This example shows how to open a UXWindow from UXDesktopDockButton.
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> |