Class PropertyNotification

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
4

Issues a notification upon a condition of the property being met. See PropertyCondition for available defined conditions.

C#
Copy
public class PropertyNotification : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
PropertyNotification
Implements

Constructors

View Source

PropertyNotification()

Create a instance of PropertyNotification.

Declaration
C#
Copy
public PropertyNotification()
API Level: 4
View Source

PropertyNotification(PropertyNotification)

Create a instance of PropertyNotification.

Declaration
C#
Copy
public PropertyNotification(PropertyNotification handle)
Parameters
Type Name Description
PropertyNotification handle
API Level: 4

Methods

View Source

Dispose(DisposeTypes)

override it to clean-up your own resources.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
View Source

DownCast(BaseHandle)

Downcast a PropertyNotification instance.

Declaration
C#
Copy
public 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.

API Level: 4
View Source

GetCondition()

Gets the condition of this notification.

Declaration
C#
Copy
public PropertyCondition GetCondition()
Returns
Type Description
PropertyCondition

The condition is returned.

API Level: 4
View Source

GetNotifyMode()

Retrieves the current Notification mode.

Declaration
C#
Copy
public PropertyNotification.NotifyMode GetNotifyMode()
Returns
Type Description
PropertyNotification.NotifyMode

Notification mode.

API Level: 4
View Source

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#
Copy
public bool GetNotifyResult()
Returns
Type Description
Boolean
API Level: 4
View Source

GetTarget()

Gets the target handle that this notification is observing.

Declaration
C#
Copy
public Animatable GetTarget()
Returns
Type Description
Animatable
API Level: 4
View Source

GetTargetProperty()

Gets the target handle's property index that this notification.

Declaration
C#
Copy
public int GetTargetProperty()
Returns
Type Description
Int32

The target property index.

API Level: 4
View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

SetNotifyMode(PropertyNotification.NotifyMode)

Sets the Notification mode.

Declaration
C#
Copy
public void SetNotifyMode(PropertyNotification.NotifyMode mode)
Parameters
Type Name Description
PropertyNotification.NotifyMode mode

mode Notification mode (Default is PropertyNotification::NotifyOnTrue).

API Level: 4

Events

View Source

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#
Copy
public event DaliEventHandler<object, PropertyNotification.NotifyEventArgs> Notified
Event Type
Type Description
DaliEventHandler<Object, PropertyNotification.NotifyEventArgs>
API Level: 4

Implements

Extension Methods