MenuItem.OnUnchecked(RoutedEventArgs) MenuItem.OnUnchecked(RoutedEventArgs) MenuItem.OnUnchecked(RoutedEventArgs) MenuItem.OnUnchecked(RoutedEventArgs) Method

Definición

Se invoca cuando el valor de la propiedad IsChecked cambia a false.Called when the IsChecked property becomes false. Este método genera el evento enrutado Unchecked.This method raises the Unchecked routed event.

protected:
 virtual void OnUnchecked(System::Windows::RoutedEventArgs ^ e);
protected virtual void OnUnchecked (System.Windows.RoutedEventArgs e);
abstract member OnUnchecked : System.Windows.RoutedEventArgs -> unit
override this.OnUnchecked : System.Windows.RoutedEventArgs -> unit
Protected Overridable Sub OnUnchecked (e As RoutedEventArgs)

Parámetros

e
RoutedEventArgs RoutedEventArgs RoutedEventArgs RoutedEventArgs

Datos para el evento Unchecked.The event data for the Unchecked event.

Comentarios

El control provoca el Unchecked evento llamando a RaiseEvent.The control raises the Unchecked event by calling RaiseEvent. Para obtener más información, vea información general sobre eventosenrutados.For more information, see Routed Events Overview.

Notas a los desarrolladores de herederos

Al reemplazar OnUnchecked(RoutedEventArgs) en una clase derivada, asegúrese de llamar al OnUnchecked(RoutedEventArgs) método de la clase base para que los delegados registrados reciban el evento.When overriding OnUnchecked(RoutedEventArgs) in a derived class, be sure to call the base class' OnUnchecked(RoutedEventArgs) method so that registered delegates receive the event.

Se aplica a