Hi guys,
I'm adding a tab with Avalon like this:
How can I register leftAnchorGroup's events so I can see every time they are triggered?
Thank you.
I'm adding a tab with Avalon like this:
var leftAnchorGroup = DockingManager.Layout.RightSide.Children.SingleOrDefault();
if (leftAnchorGroup == null)
{
leftAnchorGroup = new LayoutAnchorGroup();
DockingManager.Layout.LeftSide.Children.Add(leftAnchorGroup);
}
leftAnchorGroup.Children.Add(new LayoutAnchorable()
{
Title = "New Anchorable",
ContentId = "newAchorableDock",
IsActive = true,
IsSelected = true,
CanHide = true
});
But I wanna be able to closed and re-open this tab whenever I want. The fact is that leftAnchorGroup's events are not triggered.How can I register leftAnchorGroup's events so I can see every time they are triggered?
Thank you.