public static bool GetRegisterGlobalHotkey(KeyBinding binding) { return((bool)binding.GetValue(RegisterGlobalHotkeyProperty)); }
void SetSelectedKey(string key, bool force = false) { EnsureButtons(); SetSelected(buttons.FirstOrDefault(r => KeyBinding.GetValue(r.Tag) == key), force); }