Class EvasObjectEvent<TEventArgs>
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
Event class for EvasObject.
public class EvasObjectEvent<TEventArgs> : IInvalidatable, IDisposable where TEventArgs : EventArgs
- Inheritance
-
EvasObjectEvent<TEventArgs>
- Implements
Constructors
View SourceEvasObjectEvent(EvasObject, EvasObjectCallbackType)
Creates and initializes a new instance of the EvasObjectEvent.
Declaration
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | sender | EvasObject class belongs to. |
EvasObjectCallbackType | type | SmartEventInfoParser |
API Level: preview
View SourceEvasObjectEvent(EvasObject, EvasObjectCallbackType, EvasObjectEvent<TEventArgs>.SmartEventInfoParser)
Creates and initializes a new instance of the EvasObjectEvent.
Declaration
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type, EvasObjectEvent<TEventArgs>.SmartEventInfoParser parser)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | sender | EvasObject class belongs to. |
EvasObjectCallbackType | type | EvasObjectCallbackType |
EvasObjectEvent.SmartEventInfoParser<> | parser | SmartEventInfoParser |
API Level: preview
Methods
View SourceDispose()
Destroys the current object.
Declaration
public void Dispose()
API Level: preview
View SourceDispose(Boolean)
Releases all the resources currently used by this instance.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true if the managed resources should be disposed otherwise, false. |
API Level: preview
View SourceFinalize()
Destroys the EvasObjectEvent object.
Declaration
protected void Finalize()
MakeInvalidate()
Makes the current instance invalidate.
Declaration
public void MakeInvalidate()
API Level: preview
Events
View SourceOn
On Event Handler of the EvasObjectEvent.
Declaration
public event EventHandler<TEventArgs> On
Event Type
Type | Description |
---|---|
EventHandler<TEventArgs> |