xtd 0.2.0
Loading...
Searching...
No Matches

◆ top_level_control()

virtual std::optional< control_ref > xtd::forms::control::top_level_control ( ) const
virtualnoexcept

Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.

Returns
The control that represents the top-level control that contains the current control.