IComponentConnector.InitializeComponent Method

Definition

Loads the compiled page of a component.

public:
 void InitializeComponent();
public void InitializeComponent ();
abstract member InitializeComponent : unit -> unit
Public Sub InitializeComponent ()

Remarks

IComponentConnector is used internally by Baml2006Reader.

Implementations of InitializeComponent are widely observable as part of the infrastructure provided by frameworks or technologies that use XAML combined with application and programming models. For example, whenever you look at the generated classes for XAML root elements in WPF pages and applications, you will see InitializeComponent defined in the output. That method also exists in the compiled assembly and plays a role in the WPF application model of loading the XAML UI content at XAML parse time. For more information on the WPF integration of the InitializeComponent concept, see Application Management Overview or Code-Behind and XAML in WPF.

Applies to