Connector. Initialize Component Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the compiled page of a component.
public: void InitializeComponent();
public void InitializeComponent ();
abstract member InitializeComponent : unit -> unit
Public Sub InitializeComponent ()
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.