MenuItem.OnUnchecked(RoutedEventArgs) Method

Definition

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)

Parameters

e
RoutedEventArgs

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

Remarks

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

Notes to Inheritors

Al reemplazar OnUnchecked(RoutedEventArgs) en una clase derivada, asegúrese de llamar al método de la clase base ' OnUnchecked(RoutedEventArgs) 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.

Applies to