FrameworkContentElement.OnInitialized(EventArgs) FrameworkContentElement.OnInitialized(EventArgs) FrameworkContentElement.OnInitialized(EventArgs) FrameworkContentElement.OnInitialized(EventArgs) Method

Definición

Genera el evento Initialized.Raises the Initialized event. Este método se invoca siempre que IsInitialized se establece en true.This method is invoked whenever IsInitialized is set to true.

protected:
 virtual void OnInitialized(EventArgs ^ e);
protected virtual void OnInitialized (EventArgs e);
abstract member OnInitialized : EventArgs -> unit
override this.OnInitialized : EventArgs -> unit
Protected Overridable Sub OnInitialized (e As EventArgs)

Parámetros

e
EventArgs EventArgs EventArgs EventArgs

Datos del evento.Event data for the event.

Comentarios

La implementación predeterminada de este método virtual genera el evento como se describe anteriormente en este tema.The default implementation of this virtual method raises the event as described earlier in this topic. Las invalidaciones deben llamar base () para conservar este comportamiento.Overrides should call base() to preserve this behavior.

Tenga en cuenta que el IsInitialized propiedad es de solo lectura.Note that the IsInitialized property is read-only. Por lo tanto, no se puede establecer para forzar el comportamiento de inicialización de este modo.Therefore, you cannot set it to force initialization behavior that way. Valor de inicialización está pensado para realizarse únicamente por la Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) framework.Initialization setting is intended to be done only by the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) framework.

Se aplica a