XamlMarkupHelper.UnloadObject(DependencyObject) 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.
public:
static void UnloadObject(DependencyObject ^ element);
static void UnloadObject(DependencyObject const& element);
public static void UnloadObject(DependencyObject element);
function unloadObject(element)
Public Shared Sub UnloadObject (element As DependencyObject)
Parameters
- element
- DependencyObject
The element to unload.
Remarks
This method supports functionality provided by the x:Load attribute. Calling this method with an element that is not marked with the x:Load
attribute will cause an error.
For more information and examples, see Unloading elements in the x:Load attribute page.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for