| File: Microsoft\Windows\Controls\KeyTipAccessedEventArgs.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\System.Windows.Controls.Ribbon\System.Windows.Controls.Ribbon.csproj (System.Windows.Controls.Ribbon) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #if RIBBON_IN_FRAMEWORK namespace System.Windows.Controls #else namespace Microsoft.Windows.Controls #endif { /// <summary> /// Event args for KeyTipService.KeyTipAccessedEvent /// </summary> public class KeyTipAccessedEventArgs : RoutedEventArgs { public KeyTipAccessedEventArgs() { } /// <summary> /// This property determines what will be the /// next keytip scope after routing this event. /// </summary> public DependencyObject TargetKeyTipScope { get; set; } protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { KeyTipAccessedEventHandler handler = (KeyTipAccessedEventHandler)genericHandler; handler(genericTarget, this); } } /// <summary> /// Event handler type for KeyTipService.KeyTipAccessedEvent. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public delegate void KeyTipAccessedEventHandler(object sender, KeyTipAccessedEventArgs e); }