private static void HotkeyTextChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs args) { IconButton button = depObj as IconButton; button.UpdateToolTip(); }
private static void ContentVisibilityChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs args) { IconButton button = depObj as IconButton; button.UpdateToolTip(); }