NoesisGUI

VisualTreeHelper Class

namespace Noesis | MSDN

Provides utility methods that perform common tasks involving nodes in a visual tree.

Inheritance Hierarchy

VisualTreeHelper

INDEX Class Hierarchy Index

Properties

VisualTreeHelper has no properties

Methods

Name Description
GetChild Returns the child visual object of a parent at the specified index
GetChildrenCount Returns the number of children that a parent visual contains
GetClip Returns the clip geometry of the visual
GetContentBounds Returns the cached bounding box rectangle for the visual
GetDescendantBounds Returns the union of all the content bounding boxes for all visual object descendants, which includes the content bounding box of the visual itself
GetDescendantBoundsMaxZ Returns the maximum z value of the union of all the content bounding boxes for all visual object descendants, which includes the content bounding box of the visual itself
GetDescendantBoundsMinZ Returns the minimum z value of the union of all the content bounding boxes for all visual object descendants, which includes the content bounding box of the visual itself
GetOffset Returns the offset of the visual
GetParent Returns the parent of the visual object
GetRoot Returns the root of the visual tree where the specified visual is connected to
GetSize Returns the size of the visual
HitTest Returns the top-most visual object of a hit test. The coordinate value you pass as the point parameter has to be relative to the coordinate space of the visual object
HitTest Returns the top-most visual object of a hit test. The coordinate value you pass as the point parameter has to be relative to the coordinate space of the visual object. The specified callback will be called each time a visual is hit while traversing the tree
HitTest3D Returns the top-most visual object of a hit test. The coordinate values you pass as the point and direction parameters have to be relative to the coordinate space of the visual object
HitTest3D Returns the top-most visual object of a hit test. The coordinate values you pass as the point and direction parameters have to be relative to the coordinate space of the visual object. The specified callback will be called each time a visual is hit while traversing the tree

Events

VisualTreeHelper has no events

© 2017 Noesis Technologies