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.
C#Copypublic abstract class Container : Widget, IAccessibleObject
- Inheritance
- Derived
- Implements
Constructors
Declaration
C#Copyprotected Container()
View Source
Container(EvasObject)
Creates and initializes a new instance of the class, which inherit from the Container.
Declaration
C#Copyprotected 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
Declaration
C#Copypublic override Color BackgroundColor { set; }
Property Value
Type | Description |
---|---|
Color |
Overrides
Declaration
C#Copyprotected IEnumerable<EvasObject> Children { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><EvasObject> |
Methods
Declaration
C#Copyprotected void AddChild(EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The EvasObject object to be added. |
Declaration
C#Copyprotected void ClearChildren()
Declaration
C#Copyprotected void RemoveChild(EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The EvasObject object to be removed. |