Widget which has the container feature. More...
Public Member Functions | |
ContainerWidget () | |
Constructor. | |
virtual new void | AddChildFirst (Widget child) |
Adds the child widget to the beginning. | |
virtual new void | AddChildLast (Widget child) |
Adds the child widget to the end. | |
virtual new void | InsertChildBefore (Widget child, Widget nextChild) |
Inserts it immediately in front of the specified child widget. | |
virtual new void | InsertChildAfter (Widget child, Widget prevChild) |
Inserts it immediately after the specified child widget. | |
virtual new void | RemoveChild (Widget child) |
Deletes the specified child widget. | |
Properties | |
virtual new IEnumerable< Widget > | Children [get] |
Obtains the child widget. | |
bool | EnabledChildrenAnchors [get, set] |
Sets and obtains the value for whether to resize the child widget according to Anchors. | |
override float | Width [get, set] |
Obtains and sets the width. | |
override float | Height [get, set] |
Obtains and sets the height. |
Widget which has the container feature.
A child widget can be added and the parent-child relationship of the widget can be formed.
virtual new void AddChildFirst | ( | Widget | child | ) | [virtual] |
Adds the child widget to the beginning.
child | Child widget to be added |
Moves it to the beginning if it has already been added.
Reimplemented from Widget.
Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.
virtual new void AddChildLast | ( | Widget | child | ) | [virtual] |
Adds the child widget to the end.
child | Child widget to be added |
Moves it to the end if it has already been added.
Reimplemented from Widget.
Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.
Inserts it immediately after the specified child widget.
child | Child widget to be inserted |
prevChild | Child widget immediately in front of the inserted child widget |
Moves it immediately after the specified child widget if it has already been added.
Reimplemented from Widget.
Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.
Inserts it immediately in front of the specified child widget.
child | Child widget to be inserted |
nextChild | Child widget immediately after the inserted child widget |
Moves it immediately in front of the specified child widget if it has already been added.
Reimplemented from Widget.
Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.
virtual new void RemoveChild | ( | Widget | child | ) | [virtual] |
Deletes the specified child widget.
child | Widget to be deleted |
Nothing will be performed if a widget that does not exist is specified.
Reimplemented from Widget.
Reimplemented in LiveScrollPanel, LiveSpringPanel, and ScrollPanel.
virtual new IEnumerable<Widget> Children [get] |
Obtains the child widget.
Returns the enumerator that repetitively handles the collection.
Reimplemented from Widget.
Reimplemented in LiveScrollPanel, and ScrollPanel.