improved dialog

This commit is contained in:
NaBian committed 2019-04-24 23:53:36 +08:00
1 parent 76a886c331
commit 745909f485
16 files changed
+219 -11

No files matched your search

@@ -98,6 +98,19 @@ namespace HandyControl.Controls
}
}
public static void Unregister(string token)
{
if (string.IsNullOrEmpty(token)) return;
if (PanelDic.ContainsKey(token))
{
var panel = PanelDic[token];
PanelDic.Remove(token);
panel.ContextMenu = null;
panel.SetCurrentValue(PanelElement.FluidMoveBehaviorProperty, DependencyProperty.UnsetValue);
}
}
protected override void OnMouseEnter(MouseEventArgs e)
{
base.OnMouseEnter(e);