You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void Button_Show_LayoutAnchorable1_Click(object sender, RoutedEventArgs e)
{
LayoutAnchorable1.IsActive = true; //this will bring LayoutAnchorable1 to front
}
void Button_Show_LayoutAnchorable2_Click(object sender, RoutedEventArgs e)
{
LayoutAnchorable2.IsActive = true; //this will bring LayoutAnchorable2 to front
}
if I called XmlLayoutSerializer.Deserialize to restore preserved layout in DockManager_Loaded, the click function will have no effect. How can I bring LayoutAnchorable to front in C# code after Deserialize?
The text was updated successfully, but these errors were encountered:
avalondock:LayoutPanel
avalondock:LayoutAnchorablePane
<avalondock:LayoutAnchorable x:Name="LayoutAnchorable1" Title="LayoutAnchorable1" ContentId="LayoutAnchorable1"></avalondock:LayoutAnchorable>
<avalondock:LayoutAnchorable x:Name="LayoutAnchorable2" Title="LayoutAnchorable2" ContentId="LayoutAnchorable2"></avalondock:LayoutAnchorable>
</avalondock:LayoutAnchorablePane>
</avalondock:LayoutPanel>
void Button_Show_LayoutAnchorable1_Click(object sender, RoutedEventArgs e)
{
LayoutAnchorable1.IsActive = true; //this will bring LayoutAnchorable1 to front
}
void Button_Show_LayoutAnchorable2_Click(object sender, RoutedEventArgs e)
{
LayoutAnchorable2.IsActive = true; //this will bring LayoutAnchorable2 to front
}
if I called XmlLayoutSerializer.Deserialize to restore preserved layout in DockManager_Loaded, the click function will have no effect. How can I bring LayoutAnchorable to front in C# code after Deserialize?
The text was updated successfully, but these errors were encountered: