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.5.3-dev
Syntax
public abstract class Container : Control, 
	IBindableWidgetContainer

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 propertyStyleProvider
Gets or sets the style provider for this container.
Public propertyStyles
Gets the default style provider for this container.
Public propertyVisualChildren
Gets an enumeration of all contained child controls in the visual tree, including controls within child containers.
Top
Methods
  NameDescription
Protected methodApplyStyles
Applies the styles to the specified widget up the parent chain.
(Overrides ControlApplyStyles(Object, String).)
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 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 methodOnStyleChanged
Handles when the Style is changed.
(Overrides ControlOnStyleChanged(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
Top
See Also
Inheritance Hierarchy