Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
VirtualizingLayout.UninitializeForContextCore Method
Definition
- Namespace:
- Microsoft.UI.Xaml.Controls
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.
When overridden in a derived class, removes any state the layout previously stored on the UIElement container.
void UninitializeForContextCore(VirtualizingLayoutContext const& context);
protected virtual void UninitializeForContextCore(VirtualizingLayoutContext context);
function uninitializeForContextCore(context)
Protected Overridable Sub UninitializeForContextCore (context As VirtualizingLayoutContext)
Parameters
- context
- VirtualizingLayoutContext
The context object that facilitates communication between the layout and its host container.
Remarks
Override this method in a derived class to provide the behavior for calls to Layout.UninitializeForContext(Microsoft.UI.Xaml.Controls.LayoutContext).
Container elements that support attached layouts should call UninitializeForContext when a layout instance is disassociated with the container. The container is expected to give the attached layout instance a way to store and retrieve any per-container state by way of the provided context.
Applies to
See also
Feedback
Was this page helpful?
