共用方式為


Stroke.DrawingAttributesChanged 事件

定義

DrawingAttributes 物件關聯的 Stroke 變更時發生。

public:
 event System::Windows::Ink::PropertyDataChangedEventHandler ^ DrawingAttributesChanged;
public event System.Windows.Ink.PropertyDataChangedEventHandler DrawingAttributesChanged;
member this.DrawingAttributesChanged : System.Windows.Ink.PropertyDataChangedEventHandler 
Public Custom Event DrawingAttributesChanged As PropertyDataChangedEventHandler 
Public Event DrawingAttributesChanged As PropertyDataChangedEventHandler 

事件類型

範例

下列範例示範如何新增此事件的處理常式。

// Handle DrawingAtributesChanged event on stroke
myNewStroke.DrawingAttributesChanged += new PropertyDataChangedEventHandler(myNewStroke_DrawingAttributesChanged);
' Handle DrawingAtributesChanged event on stroke
AddHandler myNewStroke.DrawingAttributesChanged, AddressOf myNewStroke_DrawingAttributesChanged

備註

PropertyDataChangedEventArgs包含已變更之屬性的相關資訊。 您可以將 屬性與 的成員 DrawingAttributeIds 進行比較 PropertyGuid ,以查看哪些值已變更。

適用於

另請參閱