Property elm.WndTopLevel
Overload
Gets the top-level window that contains this UI element.
public wnd WndTopLevel { get; }
Property Value
Remarks
All UI elements must support this property, but some have bugs and can return default(wnd)
.
Uses API WindowFromAccessibleObject and API GetAncestor.