Class Container
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
It inherits Widget. The Container is an abstract class. The other class inherits it to elementary, which is about displaying its widgets in a nice layout.
[Obsolete("This has been deprecated in API12")]
public abstract class Container : Widget, IAccessibleObject
- Inheritance
- Derived
- Implements
Constructors
View SourceContainer()
Creates and initializes a new instance of the Container class.
Declaration
[Obsolete("This has been deprecated in API12")]
protected Container()
Container(EvasObject)
Creates and initializes a new instance of the class, which inherit from the Container.
Declaration
[Obsolete("This has been deprecated in API12")]
protected Container(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent is a given object, which will be attached by the Container as a child. It's EvasObject type. |
Properties
View SourceBackgroundColor
Sets the background color of a given Container.
Declaration
[Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor { set; }
Property Value
Type | Description |
---|---|
Color |
Overrides
View SourceChildren
Gets the collection of a child EvasObject of the Container.
Declaration
[Obsolete("This has been deprecated in API12")]
protected IEnumerable<EvasObject> Children { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><EvasObject> |
Methods
View SourceAddChild(EvasObject)
Add the EvasObject object as a child of the Container.
Declaration
[Obsolete("This has been deprecated in API12")]
protected void AddChild(EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The EvasObject object to be added. |
ClearChildren()
Clears all the children of the Container.
Declaration
[Obsolete("This has been deprecated in API12")]
protected void ClearChildren()
RemoveChild(EvasObject)
Removes the EvasObject object as a child of the Container.
Declaration
[Obsolete("This has been deprecated in API12")]
protected void RemoveChild(EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The EvasObject object to be removed. |