TextBoxBase.OnQueryCursor(QueryCursorEventArgs) 方法

定义

每当未处理的 QueryCursor 附加路由事件在其路由中发生在一个从此类派生的元素上时,就会调用此方法。Invoked whenever an unhandled QueryCursor attached routed event reaches an element derived from this class in its route. 实现此方法可为此事件添加类处理。Implement this method to add class handling for this event.

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

参数

e
QueryCursorEventArgs

提供与事件有关的数据。Provides data about the event.

适用于

另请参阅