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,以查看哪个值发生了更改。

适用于

另请参阅