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

適用於

另請參閱