Stroke.DrawingAttributesReplaced 事件

定義

當物件的繪圖屬性 Stroke 被替換時,會發生這種情況。

public:
 event System::Windows::Ink::DrawingAttributesReplacedEventHandler ^ DrawingAttributesReplaced;
public event System.Windows.Ink.DrawingAttributesReplacedEventHandler DrawingAttributesReplaced;
member this.DrawingAttributesReplaced : System.Windows.Ink.DrawingAttributesReplacedEventHandler 
Public Custom Event DrawingAttributesReplaced As DrawingAttributesReplacedEventHandler 
Public Event DrawingAttributesReplaced As DrawingAttributesReplacedEventHandler 

事件類型

範例

以下範例示範如何為此事件新增處理器。

// Handle DrawingAttributesReplaced event on stroke
myNewStroke.DrawingAttributesReplaced += new DrawingAttributesReplacedEventHandler(myNewStroke_DrawingAttributesReplaced);
' Handle DrawingAttributesReplaced event on stroke
AddHandler myNewStroke.DrawingAttributesReplaced, AddressOf myNewStroke_DrawingAttributesReplaced

適用於

另請參閱