Interface Efl.IContainer
Common interface for objects (containers) that can have multiple contents (sub-objects). APIs in this interface deal with containers of multiple sub-objects, not with individual parts. (Since EFL 1.22)
Syntax
public interface IContainer : IWrapper, IDisposable
Methods
ContentCount()
Returns the number of contained sub-objects. (Since EFL 1.22)
Declaration
int ContentCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of sub-objects. |
IterateContent()
Begin iterating over this object's contents. (Since EFL 1.22)
Declaration
Iterator<IEntity> IterateContent()
Returns
Type | Description |
---|---|
Eina.Iterator<Efl.Gfx.IEntity> | Iterator on object's content. |
Events
ContentAddedEvent
Sent after a new sub-object was added. (Since EFL 1.22)
Declaration
event EventHandler<ContainerContentAddedEventArgs> ContentAddedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.ContainerContentAddedEventArgs> |
ContentRemovedEvent
Sent after a sub-object was removed, before unref. (Since EFL 1.22)
Declaration
event EventHandler<ContainerContentRemovedEventArgs> ContentRemovedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.ContainerContentRemovedEventArgs> |