共用方式為


InkCanvas.OnSelectionChanging(InkCanvasSelectionChangingEventArgs) 方法

定義

引發 SelectionChanging 事件。

protected:
 virtual void OnSelectionChanging(System::Windows::Controls::InkCanvasSelectionChangingEventArgs ^ e);
protected virtual void OnSelectionChanging (System.Windows.Controls.InkCanvasSelectionChangingEventArgs e);
abstract member OnSelectionChanging : System.Windows.Controls.InkCanvasSelectionChangingEventArgs -> unit
override this.OnSelectionChanging : System.Windows.Controls.InkCanvasSelectionChangingEventArgs -> unit
Protected Overridable Sub OnSelectionChanging (e As InkCanvasSelectionChangingEventArgs)

參數

備註

當使用者建立新的筆劃和/或元素選取專案時,但在套用變更之前,就會呼叫此方法。 套用變更之後,會 OnSelectionChanged 呼叫 方法。

適用於

另請參閱