Class PropertyCondition
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 4
A condition that can be evaluated on a Property Value
C#Copypublic class PropertyCondition : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic PropertyCondition()
API Level: 4
Methods
Declaration
C#Copypublic float GetArgument(uint index)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | index | The condition index to get the argument. |
Returns
Type | Description |
---|---|
Single | The arguments used for this condition. |
API Level: 4
Declaration
C#Copypublic uint GetArgumentCount()
Returns
Type | Description |
---|---|
UInt32 | The arguments used for this condition. |
API Level: 4
GreaterThan(Single)
GreaterThan condition compares whether property is greater than arg.
Declaration
C#Copypublic static PropertyCondition GreaterThan(float arg)
Parameters
Type | Name | Description |
---|---|---|
Single | arg | The argument for the condition. |
Returns
Type | Description |
---|---|
PropertyCondition | A property condition function object. |
API Level: 4
Inside(Single, Single)
Inside condition compares whether property is greater than arg0 and less than arg1.
Declaration
C#Copypublic static PropertyCondition Inside(float arg0, float arg1)
Parameters
Type | Name | Description |
---|---|---|
Single | arg0 | The first argument for the condition. |
Single | arg1 | The second argument for the condition. |
Returns
Type | Description |
---|---|
PropertyCondition | A property condition function object. |
API Level: 4
Declaration
C#Copypublic static PropertyCondition LessThan(float arg)
Parameters
Type | Name | Description |
---|---|---|
Single | arg | The argument for the condition. |
Returns
Type | Description |
---|---|
PropertyCondition | A property condition function object. |
API Level: 4
Outside(Single, Single)
Outside condition compares whether property is less than arg0 or greater than arg1
Declaration
C#Copypublic static PropertyCondition Outside(float arg0, float arg1)
Parameters
Type | Name | Description |
---|---|---|
Single | arg0 | The first argument for the condition. |
Single | arg1 | The second argument for the condition. |
Returns
Type | Description |
---|---|
PropertyCondition | A property condition function object. |
API Level: 4
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
Step(Single)
Receives notifications as a property goes above/below the inputted values. Values must be ordered and can be either ascending or descending.
Declaration
C#Copypublic static PropertyCondition Step(float stepAmount)
Parameters
Type | Name | Description |
---|---|---|
Single | stepAmount | List of values to receive notifications for as a property crosses them. |
Returns
Type | Description |
---|---|
PropertyCondition | A property condition function object. |
API Level: 4
Step(Single, Single)
Detects when a property changes by stepAmount from initialValue, in both positive and negative directions. This will continue checking for multiples of stepAmount.
Declaration
C#Copypublic static PropertyCondition Step(float stepAmount, float initialValue)
Parameters
Type | Name | Description |
---|---|---|
Single | stepAmount | The step size required to trigger condition. |
Single | initialValue | The initial value to step from. |
Returns
Type | Description |
---|---|
PropertyCondition | A property condition function object. |