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
In Mahapps.Metro 1.2.4 it works well, the PART_CloseButton closes the tab.
In the 1.5.0 the close "X" button stops working. When I see the mahapps code I realized, that there is an InternalCloseCommand (internal), which closes the tab.
When I try to bound a new command handler to close the tab manually, I realized that the TabControl.CloseThisTabItem method is internal too.
My question is:
How can I close the tab with close button when I override the template?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello!
When I override the MetroTabItem controltemplate the close button doesn't works.
I have the following code:
In Mahapps.Metro 1.2.4 it works well, the PART_CloseButton closes the tab.
In the 1.5.0 the close "X" button stops working. When I see the mahapps code I realized, that there is an InternalCloseCommand (internal), which closes the tab.
When I try to bound a new command handler to close the tab manually, I realized that the TabControl.CloseThisTabItem method is internal too.
My question is:
How can I close the tab with close button when I override the template?
Thanks in advance!
The text was updated successfully, but these errors were encountered: