Public Function GetParent( _ Optional ByVal topMost As Boolean _ ) As IElementContainer
public IElementContainer GetParent( bool topMost )
Parameters
- topMost
- If true then the top most parent or 'container' is returned
Public Function GetParent( _ Optional ByVal topMost As Boolean _ ) As IElementContainer
public IElementContainer GetParent( bool topMost )
{
//check the parent
var parent = groupElement.Elements.First().GetParent();//will be the group element
//top-most parent
//will be a GraphicsLayer or Layout
var top_most = groupElement.Elements.First().GetParent(true);
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)