Class Animatable

Definition

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

Animatable.

C#
Copy
public class Animatable : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
System.Object
Tizen.NUI.Binding.Element
Animatable
Derived
Tizen.NUI.RenderTask
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

Animatable()

Create an instance of animatable.

Declaration
C#
Copy
public Animatable()
API Level: 3

Methods

View Source

AddPropertyNotification(String, PropertyCondition)

Adds a property notification to this object.

Declaration
C#
Copy
public PropertyNotification AddPropertyNotification(string property, PropertyCondition condition)
Parameters
Type Name Description
System.String property

The name of the property.

PropertyCondition condition

The notification will be triggered when this condition is satisfied.

Returns
Type Description
PropertyNotification

A handle to the newly created PropertyNotification.

API Level: 4
View Source

GetProperty(Int32)

Retrieves a property value.

Declaration
C#
Copy
public PropertyValue GetProperty(int index)
Parameters
Type Name Description
Int32 index

The index of the property.

Returns
Type Description
PropertyValue

The property value.

API Level: 3
View Source

GetPropertyIndex(String)

Queries the index of a property.

Declaration
C#
Copy
public int GetPropertyIndex(string name)
Parameters
Type Name Description
System.String name

The name of the property.

Returns
Type Description
Int32

The index of the property.

API Level: 3
View Source

GetPropertyName(Int32)

Queries the name of a property.

Declaration
C#
Copy
public string GetPropertyName(int index)
Parameters
Type Name Description
Int32 index

The index of the property.

Returns
Type Description
System.String

The name of the property.

API Level: 3
View Source

GetPropertyType(Int32)

Queries the type of a property.

Declaration
C#
Copy
public PropertyType GetPropertyType(int index)
Parameters
Type Name Description
Int32 index

The index of the property.

Returns
Type Description
PropertyType

The type of the property.

API Level: 3
View Source

IsPropertyAnimatable(Int32)

whether a writable property can be the target of an animation.

Declaration
C#
Copy
public bool IsPropertyAnimatable(int index)
Parameters
Type Name Description
Int32 index

The index of the property.

Returns
Type Description
Boolean

True if the property is animatable.

API Level: 3
View Source

IsPropertyWritable(Int32)

Queries whether a property can be writable.

Declaration
C#
Copy
public bool IsPropertyWritable(int index)
Parameters
Type Name Description
Int32 index

The index of the property.

Returns
Type Description
Boolean

True if the property is writable.

API Level: 3
View Source

RegisterProperty(String, PropertyValue)

Registers a new animatable property.

Declaration
C#
Copy
public int RegisterProperty(string name, PropertyValue propertyValue)
Parameters
Type Name Description
System.String name

The name of the property.

PropertyValue propertyValue

The new value of the property.

Returns
Type Description
Int32

The type of the property.

API Level: 3
View Source

RegisterProperty(String, PropertyValue, PropertyAccessMode)

Registers a new animatable property.

Declaration
C#
Copy
public int RegisterProperty(string name, PropertyValue propertyValue, PropertyAccessMode accessMode)
Parameters
Type Name Description
System.String name

The name of the property.

PropertyValue propertyValue

The new value of the property.

PropertyAccessMode accessMode

The property access mode (writable, animatable etc).

Returns
Type Description
Int32

The type of the property.

API Level: 3
View Source

RemovePropertyNotification(PropertyNotification)

Removes a property notification from this object.

Declaration
C#
Copy
public void RemovePropertyNotification(PropertyNotification propertyNotification)
Parameters
Type Name Description
PropertyNotification propertyNotification

The propertyNotification to be removed.

API Level: 4
View Source

RemovePropertyNotifications()

Removes a property notification from this object.

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

SetProperty(Int32, PropertyValue)

Sets the value of an existing property.

Declaration
C#
Copy
public void SetProperty(int index, PropertyValue propertyValue)
Parameters
Type Name Description
Int32 index

The index of the property.

PropertyValue propertyValue

The new value of the property.

API Level: 3

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable