Class PropertyNotification
Definition
- Assembly:
- Tizen.NUI.dll
Issues a notification upon a condition of the property being met. See PropertyCondition for available defined conditions.
C#Copypublic class PropertyNotification : BaseHandle, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic PropertyNotification()
Declaration
C#Copypublic PropertyNotification(PropertyNotification handle)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyNotification | handle |
Methods
Declaration
C#Copypublic PropertyNotification Assign(PropertyNotification rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyNotification | rhs | A reference to the copied handle. |
Returns
| Type | Description |
|---|---|
| PropertyNotification | A reference to this. |
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type |
Overrides
Declaration
C#Copypublic static PropertyNotification DownCast(BaseHandle handle)
Parameters
| Type | Name | Description |
|---|---|---|
| BaseHandle | handle | Handle to an object of BaseHandle type. |
Returns
| Type | Description |
|---|---|
| PropertyNotification | Handle to an object of the PropertyNotification type. |
Declaration
C#Copypublic PropertyCondition GetCondition()
Returns
| Type | Description |
|---|---|
| PropertyCondition | The condition is returned. |
Declaration
C#Copypublic PropertyNotification.NotifyMode GetNotifyMode()
Returns
| Type | Description |
|---|---|
| PropertyNotification.NotifyMode | Notification mode. |
GetNotifyResult()
Gets the result of the last condition check that caused a signal emit, useful when using NotifyOnChanged mode and need to know what it changed to.
Declaration
C#Copypublic bool GetNotifyResult()
Returns
| Type | Description |
|---|---|
| bool |
GetPropertyNotificationFromPtr(IntPtr)
Get property notification from Intptr.
This should be internal, please do not use.
Declaration
C#Copypublic static PropertyNotification GetPropertyNotificationFromPtr(IntPtr cPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | cPtr | An object of IntPtr type. |
Returns
| Type | Description |
|---|---|
| PropertyNotification | An object of the PropertyNotification type. |
Declaration
C#Copypublic Animatable GetTarget()
Returns
| Type | Description |
|---|---|
| Animatable |
Declaration
C#Copypublic int GetTargetProperty()
Returns
| Type | Description |
|---|---|
| int | The target property index. |
NotifySignal()
Connects to this signal to be notified when the notification has occurred.
Declaration
C#Copypublic PropertyNotifySignal NotifySignal()
Returns
| Type | Description |
|---|---|
| PropertyNotifySignal | A signal object to Connect() with |
Declaration
C#Copypublic void SetNotifyMode(PropertyNotification.NotifyMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyNotification.NotifyMode | mode | mode Notification mode (Default is PropertyNotification::NotifyOnTrue). |
Events
Notified
Event for Notified signal which can be used to subscribe/unsubscribe the event handler Notified signal is emitted when the notification upon a condition of the property being met, has occurred.
Declaration
C#Copypublic event DaliEventHandler<object, PropertyNotification.NotifyEventArgs> Notified
Event Type
| Type | Description |
|---|---|
| DaliEventHandler<object, PropertyNotification.NotifyEventArgs> |