Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 1.45 KB

nf-xamlom-winui-ivisualtreeservicecallback3-onxamlrootchange.md

File metadata and controls

68 lines (55 loc) · 1.45 KB
UID tech.root title ms.date targetos description prerelease req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs helpviewer_keywords
NF:xamlom.winui.IVisualTreeServiceCallback3.OnXamlRootChange
winuicominterop
IVisualTreeServiceCallback3::OnXamlRootChange
04/12/2022
Windows
Communicates when a XamlRoot root is added or removed.
false
function
xamlom.winui.h
Windows 10, version 1809 (with Windows App SDK 1.0 or later)
apiref
COM
xamlom.winui.h
IVisualTreeServiceCallback3::OnXamlRootChange
IVisualTreeServiceCallback3::OnXamlRootChange
xamlom.winui/IVisualTreeServiceCallback3::OnXamlRootChange
c++
OnXamlRootChange

-description

Communicates when a XamlRoot root is added or removed.

-parameters

-param root

The XamlRoot.

-param mutationType

Specifies whether the root is being added or removed.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

This callback method is invoked when a XamlRoot root is added or removed. The mutationType parameter specifies whether the root is being added or removed.

-see-also