Gets a value indicating whether this element has been loaded for presentation.
public function get IsLoaded () : boolean
You cannot set this property in XAML.
System .Boolean if the current element is attached to an element tree and has been rendered; true if the element has never been attached to a loaded element tree. false
From a newly constructed instance, this property starts off
, and remains false once it is set to true , even if subsequently removed by code. true
The following example code uses
as a conditional check to assure that a function IsLoaded 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
private void OnLoad( object sender, RoutedEventArgs e)
private void updateSummary( object sender, RoutedEventArgs e)
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Supported in: 3.5, 3.0
( 1500 characters remaining)
Thank you for your feedback