UIElement3D.OnIsStylusDirectlyOverChanged 方法

定義

當這個項目上引發未處理的 IsStylusDirectlyOverChanged 事件時叫用。 實作這個方法可為此事件加入類別處理。

protected:
 virtual void OnIsStylusDirectlyOverChanged(System::Windows::DependencyPropertyChangedEventArgs e);
protected virtual void OnIsStylusDirectlyOverChanged (System.Windows.DependencyPropertyChangedEventArgs e);
abstract member OnIsStylusDirectlyOverChanged : System.Windows.DependencyPropertyChangedEventArgs -> unit
override this.OnIsStylusDirectlyOverChanged : System.Windows.DependencyPropertyChangedEventArgs -> unit
Protected Overridable Sub OnIsStylusDirectlyOverChanged (e As DependencyPropertyChangedEventArgs)

參數

備註

當相依性屬性值變更其值時, IsStylusDirectlyOver 會呼叫這個虛擬方法。 虛擬方法會先呼叫,並視需要操作事件資料。 然後,事件 IsStylusDirectlyOverChanged 會以相同的事件資料實例引發。 請注意,事件不是路由事件。 因此,您無法將它標示為在類別處理常式中處理。

這個方法沒有預設實作。 由於繼承中的中繼類別可能會實作這個方法,因此建議您在實作中呼叫基底實作。 視您的需求而定,您可以在特殊處理之前或之後呼叫基底。

OnIsStylusDirectlyOverChanged.NET Framework 3.5 版引進。 如需詳細資訊,請參閱版本和相依性

適用於