ContainerSetLogicalParent Method |
Sets the logical (non-visual) parent of the specified child control.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax protected void SetLogicalParent(
Control child
)
Protected Sub SetLogicalParent (
child As Control
)
member SetLogicalParent :
child : Control -> unit
Parameters
- child
- Type: Eto.FormsControl
Child to set the logical parent to this container.
Remarks
This is used by layout containers that may use other Eto controls to layout its children that shouldn't be
necessary for users to be concerned about.
For example, the
StackLayout uses a TableLayout internally (for now), but the TableLayout
should not be part of the logical tree of controls.
If this is not set, then the logical parent of a child is the same as the visual parent.
See Also