Stroke.DrawingAttributesChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the DrawingAttributes associated with the Stroke object change.
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
Event Type
Examples
The following example demonstrates how to add a handler for this event.
// Handle DrawingAtributesChanged event on stroke
myNewStroke.DrawingAttributesChanged += new PropertyDataChangedEventHandler(myNewStroke_DrawingAttributesChanged);
' Handle DrawingAtributesChanged event on stroke
AddHandler myNewStroke.DrawingAttributesChanged, AddressOf myNewStroke_DrawingAttributesChanged
Remarks
The PropertyDataChangedEventArgs contains information about the property that changed. You can compare the PropertyGuid property against the members of DrawingAttributeIds to see which value changed.
Applies to
See also
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา