Skip to content

Element.TransformToAncestor method

Returns a transform from this element’s coordinate space to the specified ancestor’s coordinate space, including any transform an element between them applies to its children.

public GeneralTransform TransformToAncestor(Element ancestor)
exception condition
InvalidOperationException ancestor is not an ancestor of this element.