HwndHost.OnKeyUp(KeyEventArgs) Method

Definition

裝載的視窗收到 WM_KEYUP 訊息時呼叫。Called when the hosted window receives a WM_KEYUP message.

protected:
 override void OnKeyUp(System::Windows::Input::KeyEventArgs ^ e);
protected override void OnKeyUp (System.Windows.Input.KeyEventArgs e);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override void OnKeyUp (System.Windows.Input.KeyEventArgs e);
override this.OnKeyUp : System.Windows.Input.KeyEventArgs -> unit
Protected Overrides Sub OnKeyUp (e As KeyEventArgs)

Parameters

e
KeyEventArgs

事件資料。The event data.

Attributes

Remarks

Important

此類型或成員無法在網際網路安全性區域中使用。This type or member is not available in the Internet security zone.

這是類別處理常式 OnKeyUp 的覆寫,可提供將 Win32Win32 訊息轉譯為 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 事件的行為,並在適當時將事件標示為已處理。This is an override of the class handler OnKeyUp and provides the behavior of translating the Win32Win32 message into a Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) event, marking the event as handled whenever appropriate.

Applies to