virtual std::optional< control_ref > xtd::forms::control::parent |
( |
| ) |
const |
|
virtualnoexcept |
Gets the parent container of the control.
- Returns
- A control that represents the parent or container control of the control.
- Examples
- clock.cpp, color_picker.cpp, demo.cpp, dialog.cpp, form_and_main.cpp, form_background_image.cpp, hello_world_emoticons.cpp, lcd_label2.cpp, lcd_label_with_dot_matrix.cpp, lcd_label_with_fourteen_segment.cpp, lcd_label_with_nine_segment.cpp, lcd_label_with_seven_segment.cpp, and lcd_label_with_sixteen_segment.cpp.