Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FrameworkContentElement.BeginInit Method ()

 

Called before an element is initialized.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public virtual void BeginInit()

Notes to Inheritors:

Override this method to provide special handling that should occur before your element is initialized during the element loading process.

Your implementation should call the base implementation, because the base (default) implementation sets some internal flags to keep track of initialization.

The base implementation will throw an exception if BeginInit is called more than one time on the same element prior to reaching EndInit.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft