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# | ![]() |
---|---|
<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> |