共用方式為


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

適用於