FrameworkContentElement.BeginInit Method
Definition
Important
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.
Called before an element is initialized.
public:
virtual void BeginInit();
public virtual void BeginInit ();
abstract member BeginInit : unit -> unit
override this.BeginInit : unit -> unit
Public Overridable Sub BeginInit ()
Implements
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().
Applies to
.NET