Class PropertyNotification

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

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

    public class PropertyNotification : BaseHandle, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    PropertyNotification
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    PropertyNotification()

    Create a instance of PropertyNotification.

    Declaration
    public PropertyNotification()
    View Source

    PropertyNotification(PropertyNotification)

    Create a instance of PropertyNotification.

    Declaration
    public PropertyNotification(PropertyNotification handle)
    Parameters
    Type Name Description
    PropertyNotification handle

    Methods

    View Source

    DownCast(BaseHandle)

    Downcast a PropertyNotification instance.

    Declaration
    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.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown when handle is null.

    View Source

    GetCondition()

    Gets the condition of this notification.

    Declaration
    public PropertyCondition GetCondition()
    Returns
    Type Description
    PropertyCondition

    The condition is returned.

    View Source

    GetNotifyMode()

    Retrieves the current Notification mode.

    Declaration
    public PropertyNotification.NotifyMode GetNotifyMode()
    Returns
    Type Description
    PropertyNotification.NotifyMode

    Notification mode.

    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
    public bool GetNotifyResult()
    Returns
    Type Description
    bool
    View Source

    GetTarget()

    Gets the target handle that this notification is observing.

    Declaration
    public Animatable GetTarget()
    Returns
    Type Description
    Animatable
    View Source

    GetTargetProperty()

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

    Declaration
    public int GetTargetProperty()
    Returns
    Type Description
    int

    The target property index.

    View Source

    SetNotifyMode(NotifyMode)

    Sets the Notification mode.

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

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

    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
    public event DaliEventHandler<object, PropertyNotification.NotifyEventArgs> Notified
    Event Type
    Type Description
    DaliEventHandler<object, PropertyNotification.NotifyEventArgs>

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX