Click or drag to resize

Container Class

Base class for controls that contain children controls
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public abstract class Container : Control

The Container type exposes the following members.

Constructors
  NameDescription
Protected methodContainer
Initializes a new instance of the Container class.
Protected methodContainer(ContainerIHandler)
Initializes a new instance of the Container with the specified handler
Top
Properties
  NameDescription
Public propertyChildren
Gets an enumeration of all contained child controls, including controls within child containers
Public propertyClientSize
Gets or sets the size for the client area of the control
Public propertyControls
Gets an enumeration of logical controls that are directly contained by this container
Public propertyVisualChildren
Gets an enumeration of all contained child controls in the visual tree, including controls within child containers.
Top
Methods
  NameDescription
Public methodFindChild(String)
Finds a child control in this container or any of its child containers with the specified id.
Public methodFindChild(Type, String)
Finds a child control in this container or any of its child containers with the specified type
Public methodFindChildT(String)
Finds a child control in this container or any of its child containers with the specified id
Protected methodOnDataContextChanged
Raises the DataContextChanged event
(Overrides BindableWidgetOnDataContextChanged(EventArgs).)
Protected methodOnLoad
Raises the Load event, and recurses to this container's children
(Overrides ControlOnLoad(EventArgs).)
Protected methodOnLoadComplete
Raises the LoadComplete event, and recurses to this container's children
(Overrides ControlOnLoadComplete(EventArgs).)
Protected methodOnPreLoad
Raises the PreLoad event, and recurses to this container's children
(Overrides ControlOnPreLoad(EventArgs).)
Protected methodOnUnLoad
Raises the UnLoad event, and recurses to this container's children
(Overrides ControlOnUnLoad(EventArgs).)
Public methodRemove(Control)
Removes the specified child control
Public methodRemove(IEnumerableControl)
Remove the specified controls from this container
Public methodRemoveAll
Removes all controls from this container
Protected methodRemoveLogicalParent
Removes the child control from the logical parent of this container.
Protected methodRemoveParent
Removes the specified control from the container.
Protected methodSetLogicalParent
Sets the logical (non-visual) parent of the specified child control.
Protected methodSetParent
Sets the parent of the specified child to this container
Public methodUnbind
Unbinds any bindings in the Bindings collection and removes the bindings, and recurses to this container's children
(Overrides BindableWidgetUnbind.)
Public methodUpdateBindings
Updates all bindings in this widget, and recurses to this container's children
(Overrides BindableWidgetUpdateBindings(BindingUpdateMode).)
Top
See Also
Inheritance Hierarchy