Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc isActive problem #181

Merged
merged 3 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix RP#71,when the item is not the property type of T,It will throw a…
…n excepetion
  • Loading branch information
LyonJack committed Jul 11, 2020
commit 3e2396c91971291c05072744b4d92e816465b015
50 changes: 27 additions & 23 deletions source/AvalonDocPanelMemoryLeaks/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
<Window x:Class="AvalonDocPanelMemoryLeaks.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:local="clr-namespace:AvalonDocPanelMemoryLeaks"
mc:Ignorable="d"
xmlns:xcad="https://github.com/Dirkster99/AvalonDock"
Title="MainWindow" Height="450" Width="800">
<Window
x:Class="AvalonDocPanelMemoryLeaks.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:local="clr-namespace:AvalonDocPanelMemoryLeaks"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:xcad="https://github.com/Dirkster99/AvalonDock"
Title="MainWindow"
Width="800"
Height="450"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Button Grid.Row="0" Content="Add" Click="Button_Click"/>
<xcad:DockingManager Name="dockM" Grid.Row="1">
<xcad:LayoutRoot >
<xcad:LayoutPanel>
<xcad:LayoutDocumentPaneGroup >
<xcad:LayoutDocumentPane x:Name="docGrup" >

</xcad:LayoutDocumentPane>
</xcad:LayoutDocumentPaneGroup>
</xcad:LayoutPanel>
</xcad:LayoutRoot>
</xcad:DockingManager>
<Button
Grid.Row="0"
Click="Button_Click"
Content="Add" />
<DockingManager Name="dockM" Grid.Row="1">
<LayoutRoot>
<LayoutPanel>
<LayoutDocumentPaneGroup>
<LayoutDocumentPane x:Name="docGrup" />
</LayoutDocumentPaneGroup>
</LayoutPanel>
</LayoutRoot>
</DockingManager>
</Grid>
</Window>
Loading