UIElement.OnManipulationStarting(ManipulationStartingEventArgs) Method

Definition

为在首次创建操作处理器时发生的 ManipulationStarting 路由事件提供类处理。Provides class handling for the ManipulationStarting routed event that occurs when the manipulation processor is first created.

protected:
 virtual void OnManipulationStarting(System::Windows::Input::ManipulationStartingEventArgs ^ e);
protected virtual void OnManipulationStarting (System.Windows.Input.ManipulationStartingEventArgs e);
abstract member OnManipulationStarting : System.Windows.Input.ManipulationStartingEventArgs -> unit
override this.OnManipulationStarting : System.Windows.Input.ManipulationStartingEventArgs -> unit
Protected Overridable Sub OnManipulationStarting (e As ManipulationStartingEventArgs)

Parameters

e
ManipulationStartingEventArgs

包含事件数据的 ManipulationStartingEventArgsA ManipulationStartingEventArgs that contains the event data.

Remarks

OnManipulationStarting 方法没有默认实现。The OnManipulationStarting method has no default implementation. 重写派生类中的 OnManipulationStarting 以处理 ManipulationStarting 事件。Override OnManipulationStarting in a derived class to handle the ManipulationStarting event. 请确保调用基类的 OnManipulationStarting 方法,以便基类接收事件。Be sure to call the base class' OnManipulationStarting method so that base classes receive the event.

Applies to