void OnCustomActiveKey(object sender, CustomActiveKeyArgs e) { e.Handled = e.View.ObjectTypeInfo.Type == typeof(AnonymousLogonParameters); }