Interface IControlPanelCollection
Namespace: Experior.Interfaces.Collections
Assembly: Experior.Interfaces.dll
Syntax
public interface IControlPanelCollection
Methods
Add(IControlPanel)
Adds an actionPoint to the global ControlPanel list.
Declaration
void Add(IControlPanel controlpanel)
Parameters
Type | Name | Description |
---|---|---|
IControlPanel | controlpanel | The motor. |
Clear()
Declaration
void Clear()
Contains(IControlPanel)
Determines whether the specified value contains value.
Declaration
bool Contains(IControlPanel item)
Parameters
Type | Name | Description |
---|---|---|
IControlPanel | item |
Returns
Type | Description |
---|---|
System.Boolean |
|
Count()
Gets the number of ControlPanel.
Declaration
int Count()
Returns
Type | Description |
---|---|
System.Int32 | The count. |
Count(Func<IControlPanel, Boolean>)
Gets the number of actionpoints matching the predicate.
Declaration
int Count(Func<IControlPanel, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<IControlPanel, System.Boolean> | predicate |
Returns
Type | Description |
---|---|
System.Int32 | The count. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
IEnumerator<IControlPanel> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IControlPanel> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Index(Int32, IControlPanel)
Adds an actionPoint to the global ControlPanel list.
Declaration
void Index(int index, IControlPanel controlpanel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
IControlPanel | controlpanel |
Remove(IControlPanel)
Removes an ControlPanel from the global ControlPanel list. Note: by removing a control panel from the list the controls is unattached from the ui and is therefore disposed
Declaration
bool Remove(IControlPanel item)
Parameters
Type | Name | Description |
---|---|---|
IControlPanel | item | The ControlPanel. |
Returns
Type | Description |
---|---|
System.Boolean |
Events
OnCleared
Raised when action points items are added to the collection.
Declaration
event EventHandler OnCleared
Event Type
Type | Description |
---|---|
System.EventHandler |
OnItemsAdded
Raised when action points items are added to the collection.
Declaration
event EventHandler<ControlPanelCollectionChangedEventArgs> OnItemsAdded
Event Type
Type | Description |
---|---|
System.EventHandler<ControlPanelCollectionChangedEventArgs> |
OnItemsRemoved
Raised when action points are removed from the collection.
Declaration
event EventHandler<ControlPanelCollectionChangedEventArgs> OnItemsRemoved
Event Type
Type | Description |
---|---|
System.EventHandler<ControlPanelCollectionChangedEventArgs> |