Gets a value that indicates whether this element has been loaded for presentation.
Assembly: PresentationFramework (in PresentationFramework.dll)
From a newly constructed FrameworkElement, this property starts off false, and remains true after it is set to true, even if the element is subsequently removed from a connected logical tree by code. true state is set by the general presentation logic when elements are loaded into the presentation engine.
The following example implements two handlers: one is handling the Loaded event of the root element, so it is certain that the page root element is loaded because that is the significance of the event. The other handler is hooked to a user control, and calls to assure that the root element is loaded completely. Both handlers call the same function (not shown) that will populate child elements with fresh data.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.