28 size_ = default_size();
29 controls().push_back_range({panel2_, splitter_, panel1_});
70 if (splitter_distance_ != splitter_distance) {
71 splitter_distance_ = splitter_distance;
73 else panel1_.width(splitter_distance);
100 if (splitter_width_ != splitter_width) {
101 splitter_width_ = splitter_width;
113 void arrange_children() {
116 panel1_.width(splitter_distance_);
118 splitter_.width(splitter_width_);
121 panel1_.height(splitter_distance_);
123 splitter_.height(splitter_width_);
129 splitter_panel panel1_;
131 splitter_panel panel2_;
132 int splitter_distance_ = 50;
134 int splitter_width_ = 4;
Stores an ordered pair of integers, which specify a height and width.
Definition size.h:25
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
virtual void on_resize(const event_args &e)
Raises the control::resize event.
#define forms_export_
Define shared library export.
Definition forms_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::forms::orientation enum class.
Contains xtd::forms::splitter control.
Contains xtd::forms::splitter_panel container.