共用方式為


GridViewColumnHeader.OnLostKeyboardFocus 方法

定義

提供 LostKeyboardFocusGridViewColumnHeader 事件的類別處理。

protected:
 override void OnLostKeyboardFocus(System::Windows::Input::KeyboardFocusChangedEventArgs ^ e);
protected override void OnLostKeyboardFocus (System.Windows.Input.KeyboardFocusChangedEventArgs e);
override this.OnLostKeyboardFocus : System.Windows.Input.KeyboardFocusChangedEventArgs -> unit
Protected Overrides Sub OnLostKeyboardFocus (e As KeyboardFocusChangedEventArgs)

參數

e
KeyboardFocusChangedEventArgs

事件資料。

備註

GridViewColumnHeader 實作 OnLostKeyboardFocus 會清除滑鼠擷取。

這個實作不會變更 HandledKeyboardFocusChangedEventArgs 屬性。

適用於