Class PropertyCondition

    Definition

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

    A condition that can be evaluated on a Property Value

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

    Constructors

    View Source

    PropertyCondition()

    Create a property condition instance.

    Declaration
    public PropertyCondition()

    Methods

    View Source

    GetArgument(uint)

    Retrieves the arguments that this condition uses

    Declaration
    public float GetArgument(uint index)
    Parameters
    Type Name Description
    uint index

    The condition index to get the argument.

    Returns
    Type Description
    float

    The arguments used for this condition.

    View Source

    GetArgumentCount()

    Retrieves the arguments that this condition uses.

    Declaration
    public uint GetArgumentCount()
    Returns
    Type Description
    uint

    The arguments used for this condition.

    View Source

    GreaterThan(float)

    GreaterThan condition compares whether property is greater than arg.

    Declaration
    public static PropertyCondition GreaterThan(float arg)
    Parameters
    Type Name Description
    float arg

    The argument for the condition.

    Returns
    Type Description
    PropertyCondition

    A property condition function object.

    View Source

    Inside(float, float)

    Inside condition compares whether property is greater than arg0 and less than arg1.

    Declaration
    public static PropertyCondition Inside(float arg0, float arg1)
    Parameters
    Type Name Description
    float arg0

    The first argument for the condition.

    float arg1

    The second argument for the condition.

    Returns
    Type Description
    PropertyCondition

    A property condition function object.

    View Source

    LessThan(float)

    LessThan condition compares whether property is less than arg.

    Declaration
    public static PropertyCondition LessThan(float arg)
    Parameters
    Type Name Description
    float arg

    The argument for the condition.

    Returns
    Type Description
    PropertyCondition

    A property condition function object.

    View Source

    Outside(float, float)

    Outside condition compares whether property is less than arg0 or greater than arg1

    Declaration
    public static PropertyCondition Outside(float arg0, float arg1)
    Parameters
    Type Name Description
    float arg0

    The first argument for the condition.

    float arg1

    The second argument for the condition.

    Returns
    Type Description
    PropertyCondition

    A property condition function object.

    View Source

    Step(float, float)

    Detects when a property changes by stepAmount from initialValue, in both positive and negative directions. This will continue checking for multiples of stepAmount.

    Declaration
    public static PropertyCondition Step(float stepAmount, float initialValue)
    Parameters
    Type Name Description
    float stepAmount

    The step size required to trigger condition.

    float initialValue

    The initial value to step from.

    Returns
    Type Description
    PropertyCondition

    A property condition function object.

    View Source

    Step(float)

    Receives notifications as a property goes above/below the inputted values. Values must be ordered and can be either ascending or descending.

    Declaration
    public static PropertyCondition Step(float stepAmount)
    Parameters
    Type Name Description
    float stepAmount

    List of values to receive notifications for as a property crosses them.

    Returns
    Type Description
    PropertyCondition

    A property condition function object.

    Implements

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