FrameworkContentElement.BeginInit Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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