Intersoft ClientUI 8 > ClientUI Fundamentals > Window and Dialog Boxes Overview > Window and Dialog Boxes How-to Topics > How-to: Integrate UXDesktop to UXDesktopDock |
This example shows how to integrate UXDesktop to UXDesktopDock.
A task bar is represented by a class that implements ITaskBar interface which is required for the desktop manager integration. In this release, you use UXDesktopDock control to implement the task bar interface that support desktop manager and window integration.
The most basic implementation to integrate a UXDesktop to a task bar such as UXDesktopDock is by specifying the target task bar instance to the TaskBar property of the UXDesktop. This can be done through element binding in XAML.
The following example shows a basic implementation of integration between the UXDesktop and UXDesktopDock.
XAML |
Copy Code
|
---|---|
<Intersoft:UXDesktop TaskBar="{Binding ElementName=desktopDock, Mode=OneWay}"> ... </Intersoft:UXDesktop> <Intersoft:UXDesktopDock x:Name="desktopDock"> ... </Intersoft:UXDesktopDock> |