VisualElement structure (xamlom.h)
Represents a XAML element in the Live Visual Tree in Microsoft Visual Studio.
Syntax
typedef struct VisualElement {
InstanceHandle Handle;
SourceInfo SrcInfo;
BSTR Type;
BSTR Name;
unsigned int NumChildren;
} VisualElement;
Members
Handle
A handle to the object.
SrcInfo
Information about the XAML source document.
Type
The type of the object.
Name
The name of the XAML element, if it has an x:Name defined in markup.
NumChildren
The number of children the XAML element has.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | xamlom.h |
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