Muokkaa

Jaa


InkCanvas.ActiveEditingModeChanged Event

Definition

Occurs when the current editing mode changes.

public:
 event System::Windows::RoutedEventHandler ^ ActiveEditingModeChanged;
public event System.Windows.RoutedEventHandler ActiveEditingModeChanged;
member this.ActiveEditingModeChanged : System.Windows.RoutedEventHandler 
Public Custom Event ActiveEditingModeChanged As RoutedEventHandler 

Event Type

Examples

The following example reports the value of ActiveEditingMode whenever it changes.

void inkCanvas1_ActiveEditingModeChanged(object sender, RoutedEventArgs e)
{
    this.Title = inkCanvas1.ActiveEditingMode.ToString();
}
Private Sub inkCanvas1_ActiveEditingModeChanged(ByVal sender As Object, ByVal e As RoutedEventArgs)

    Me.Title = inkCanvas1.ActiveEditingMode.ToString()

End Sub

Remarks

The ActiveEditingMode property changes whenever the InkCanvas enters a new editing mode. For example, suppose that the EditingMode is set to Ink and the EditingModeInverted is set to EraseByPoint. When the user changes the tip of tablet pen, the ActiveEditingModeChanged event occurs.

Routed Event Information

Item Value
Identifier field ActiveEditingModeChangedEvent
Routing strategy Bubbling
Delegate RoutedEventHandler

Applies to

See also