共用方式為


Stroke.OnDrawingAttributesReplaced(DrawingAttributesReplacedEventArgs) 方法

定義

如此一來,衍生類別就可以修改 DrawingAttributesReplaced 事件的預設行為。

protected:
 virtual void OnDrawingAttributesReplaced(System::Windows::Ink::DrawingAttributesReplacedEventArgs ^ e);
protected virtual void OnDrawingAttributesReplaced (System.Windows.Ink.DrawingAttributesReplacedEventArgs e);
abstract member OnDrawingAttributesReplaced : System.Windows.Ink.DrawingAttributesReplacedEventArgs -> unit
override this.OnDrawingAttributesReplaced : System.Windows.Ink.DrawingAttributesReplacedEventArgs -> unit
Protected Overridable Sub OnDrawingAttributesReplaced (e As DrawingAttributesReplacedEventArgs)

參數

備註

在衍生類別中覆寫這個方法時,請呼叫 OnDrawingAttributesReplaced 基類的 方法,讓已註冊的委派接收 事件。

適用於