Stroke.StylusPointsReplaced 事件

定义

在对 StylusPoints 属性分配新的 StylusPointCollection 时发生。

public:
 event System::Windows::Ink::StylusPointsReplacedEventHandler ^ StylusPointsReplaced;
public event System.Windows.Ink.StylusPointsReplacedEventHandler StylusPointsReplaced;
member this.StylusPointsReplaced : System.Windows.Ink.StylusPointsReplacedEventHandler 
Public Custom Event StylusPointsReplaced As StylusPointsReplacedEventHandler 
Public Event StylusPointsReplaced As StylusPointsReplacedEventHandler 

事件类型

示例

以下示例演示如何处理 事件 StylusPointsReplaced

void myNewStroke_StylusPointsReplaced(object sender, StylusPointsReplacedEventArgs e)
{
   
    MessageBox.Show("stylus points replaced");
}
Private Sub myNewStroke_StylusPointsReplaced(ByVal sender As Object, ByVal e As StylusPointsReplacedEventArgs)

    MessageBox.Show("stylus points replaced")

End Sub

适用于