/
MainWindow.xaml
29 lines (29 loc) · 1.52 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<Window x:Class="DockingManager_PreviewDockHints_Event.MainWindow"
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:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:local="clr-namespace:DockingManager_PreviewDockHints_Event"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Window.DataContext>
<local:ViewModel></local:ViewModel>
</Window.DataContext>
<Grid>
<syncfusion:DockingManager Name="dockingManager" >
<i:Interaction.Behaviors>
<local:EventToCommandBehavior PassArguments="true"
Event="PreviewDockHints"
Command="{Binding PreviewDockHintsCommand}" />
</i:Interaction.Behaviors>
<ContentControl syncfusion:DockingManager.Header="Solution Explorer"
Name="SolutionExplorer"/>
<ContentControl syncfusion:DockingManager.Header="Output"
Name="Output" />
<ContentControl syncfusion:DockingManager.Header="Properties"
Name="Properties" />
</syncfusion:DockingManager>
</Grid>
</Window>