Window.OnLocationChanged(EventArgs) 方法

定義

引發 LocationChanged 事件。

protected:
 virtual void OnLocationChanged(EventArgs ^ e);
protected virtual void OnLocationChanged (EventArgs e);
abstract member OnLocationChanged : EventArgs -> unit
override this.OnLocationChanged : EventArgs -> unit
Protected Overridable Sub OnLocationChanged (e As EventArgs)

參數

e
EventArgs

包含事件資料的 EventArgs

備註

OnLocationChanged 會引發 LocationChanged 事件。

衍生自 Window 的類型可能會覆寫 OnLocationChanged 。 如果需要 LocationChanged 引發,覆寫的方法必須在基類上呼叫 OnLocationChanged

適用於

另請參閱