UIElementDialogPage.DialogKeyPendingEvent 字段

定义

路由事件,用于确定对话框中的键输入是否应由对话框或此页的内容来处理。 如果将此事件标记为 "已处理",则按内容处理按键,并从 WM_GETDLGCODE 返回 DLGC_WANTALLKEYS。 如果未处理该事件,则仅在此对话框页面中处理箭头键、tab 键和字符输入。

public: static initonly System::Windows::RoutedEvent ^ DialogKeyPendingEvent;
public static readonly System.Windows.RoutedEvent DialogKeyPendingEvent;
 staticval mutable DialogKeyPendingEvent : System.Windows.RoutedEvent
Public Shared ReadOnly DialogKeyPendingEvent As RoutedEvent 

字段值

RoutedEvent

适用于