This documentation is archived and is not being maintained.
FrameworkContentElement::IsLoaded Property
Visual Studio 2010
Gets a value indicating whether this element has been loaded for presentation.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::Booleantrue if the current element is attached to an element tree and has been rendered; false if the element has never been attached to a loaded element tree.
The following example code uses IsLoaded as a conditional check to assure that a function displayData (not shown) will have valid elements loaded on the page to work against, as part of an on-demand handler. That same logic is run as an event handler for Loaded.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: