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
Use MetroTabControl and add MetroTabItems with CloseButtonEnabledset to true and CloseTabCommand (of the MetroTabItem) bound to a command that triggers a dialog ("are you sure you want to close...blablabla?"). When denied, the command does not remove the tab, but closeButton_Click in MetroTabItem.cs sets the CloseTabCommand and CloseTabCommandParameter properties to null, preventing subsequent command invocations.
Expected outcome
In my opinion these two properties should remain set to their respective Command and Parameter or am I using this control not in the intended way?
Environment
MahApps.Metro 1.2.4 as well as on develop and master branches