Stroke.DrawingAttributesReplaced 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 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