IVisualTreeService interface (xamlom.h)

Provides methods to manage a XAML visual tree.

Inheritance

The IVisualTreeService interface inherits from the IUnknown interface. IVisualTreeService also has these types of members:

Methods

The IVisualTreeService interface has these methods.

 
IVisualTreeService::AddChild

Adds a child element to the collection at the specified index.
IVisualTreeService::AdviseVisualTreeChange

Starts listening for changes to the visual tree.
IVisualTreeService::ClearChildren

Clears all child elements from the parent collection.
IVisualTreeService::ClearProperty

Clears the specified property on a XAML element.
IVisualTreeService::CreateInstance

Creates an instance of any XAML runtime, enum, or primitive type.
IVisualTreeService::GetCollectionCount

Gets the count of a collection.
IVisualTreeService::GetCollectionElements

Gets the elements in a collection.
IVisualTreeService::GetEnums

Gets an array of all the enums defined in the XAML runtime and the total count.
IVisualTreeService::GetPropertyValuesChain

Gets an array of all the properties set on the element passed in, and an array of all the styles involved in setting the effective values of the properties.
IVisualTreeService::RemoveChild

Removes the child element from the specified index.
IVisualTreeService::SetProperty

Sets a property value on a XAML element.
IVisualTreeService::UnadviseVisualTreeChange

Stops listening for changes to the visual tree.

Requirements

Requirement Value
Target Platform Windows
Header xamlom.h

See also

IUnknown