VisualMutationType enumeration (xamlom.h)

Defines constants that specify whether the element was added to or removed from the live visual tree.

Syntax

typedef enum VisualMutationType {
  Add = 0,
  Remove
} ;

Constants

 
Add
Value: 0
The child element was added to the visual tree of the parent element.
Remove
The child element was removed from the visual tree of the parent element.

Remarks

VisualMutationType is used by IVisualTreeServiceCallback to indicate to the callback whether the element is entering or leaving the live visual tree.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header xamlom.h