Stroke.StylusPointsReplaced Event

Definition

Occurs when the StylusPoints property is assigned a new 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 

Examples

The following example demonstrates how to handle the StylusPointsReplaced event.

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

Applies to