Open kwatman opened 4 years ago
@dolfijn3000 Did you solve this issue?
I get same error in my project too, I'm using stylet mvvm framework, which suggested me to delete the code bihind file *.xaml.cs . But when I recreated this code behind file, the error dispeared, everything is ok now. There's nothing more than a "InitializeComponent()" in the file. And now the Dragablz works. Hope this can help you too.
so its my first time using this so i wanted to tet how it works. i copy patsed the sample code and when i run it it works. bu the moment i try to tear of the tab i get this error: applicationexception: unable to ascertain tab control.
this is the code of my xaml page: `<Page x:Class="WorldCraft.Pages.WorldEditor" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:WorldCraft.Pages" xmlns:dragablz="http://dragablz.net/winfx/xaml/dragablz" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800" Title="WorldEditor" DataContext="{Binding WorldEditorInstance, Source={StaticResource Locator}}">
`