internal static Property GetPropertyFromString(Animatable handle, string stringProperty)
{
Property property = new Property(handle, LowerFirstLetter(stringProperty));
- if (property.propertyIndex == Property.InvalidIndex)
+ if (property.PropertyIndex == Property.InvalidIndex)
{
throw new System.ArgumentException("string property is invalid");
}
{
Property property = new Property(animatable, lowercasePropertyString);
- if (property.propertyIndex == Property.InvalidIndex)
+ if (property.PropertyIndex == Property.InvalidIndex)
{
property.Dispose();
return null;
}
OOConverter converter = null;
- if (animatable.GetPropertyType(property.propertyIndex).Equals(PropertyType.Float))
+ if (animatable.GetPropertyType(property.PropertyIndex).Equals(PropertyType.Float))
{
converter = ObjectIntToFloat;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
var property = new Property(propertyIntPtr, true);
- if (property.propertyIndex == Property.InvalidIndex)
+ if (property.PropertyIndex == Property.InvalidIndex)
{
property.Dispose();
return data.RelatedData == null ? null : GenerateVisualPropertySearchResult(view, data.RelatedData);
{
var propertyName = LowerFirstLetter(name);
Property property = new Property(this, propertyName);
- if (property.propertyIndex == Property.InvalidIndex)
+ if (property.PropertyIndex == Property.InvalidIndex)
{
Tizen.Log.Error("NUI", "Invalid property name\n");
}
else
{
- Tizen.NUI.Object.SetProperty(SwigCPtr, property.propertyIndex, propertyValue);
+ Tizen.NUI.Object.SetProperty(SwigCPtr, property.PropertyIndex, propertyValue);
}
property.Dispose();
}
public PropertyNotification AddPropertyNotification(string property, PropertyCondition condition)
{
Property properties = PropertyHelper.GetPropertyFromString(this, property);
- PropertyNotification ret = new PropertyNotification(Interop.Handle.AddPropertyNotification(SwigCPtr, properties.propertyIndex, PropertyCondition.getCPtr(condition)), true);
+ PropertyNotification ret = new PropertyNotification(Interop.Handle.AddPropertyNotification(SwigCPtr, properties.PropertyIndex, PropertyCondition.getCPtr(condition)), true);
properties.Dispose();
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
/// <summary>
/// This constructor creates a property instance.
/// </summary>
- /// <param name="arg0">A valid handle to the target object.</param>
+ /// <param name="animatable">A valid handle to the target object.</param>
/// <param name="propertyIndex">The index of a property.</param>
- public Property(Animatable arg0, int propertyIndex) : this(Interop.Property.NewProperty(Animatable.getCPtr(arg0), propertyIndex), true)
+ public Property(Animatable animatable, int propertyIndex) : this(Interop.Property.NewProperty(Animatable.getCPtr(animatable), propertyIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// <summary>
/// This constructor creates a property instance.
/// </summary>
- /// <param name="arg0">A valid handle to the target object.</param>
+ /// <param name="animatable">A valid handle to the target object.</param>
/// <param name="propertyIndex">The index of a property.</param>
/// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for the main property (default is -1).</param>
- public Property(Animatable arg0, int propertyIndex, int componentIndex) : this(Interop.Property.NewProperty(Animatable.getCPtr(arg0), propertyIndex, componentIndex), true)
+ public Property(Animatable animatable, int propertyIndex, int componentIndex) : this(Interop.Property.NewProperty(Animatable.getCPtr(animatable), propertyIndex, componentIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// This constructor creates a property instance.<br />
/// This performs a property index query and is therefore slower than constructing a property directly with the index.<br />
/// </summary>
- /// <param name="arg0">A valid handle to the target object.</param>
+ /// <param name="animatable">A valid handle to the target object.</param>
/// <param name="propertyName">The property name.</param>
- public Property(Animatable arg0, string propertyName) : this(Interop.Property.NewProperty(Animatable.getCPtr(arg0), propertyName), true)
+ public Property(Animatable animatable, string propertyName) : this(Interop.Property.NewProperty(Animatable.getCPtr(animatable), propertyName), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// This constructor creates a property instance.<br />
/// This performs a property index query and is therefore slower than constructing a property directly with the index.<br />
/// </summary>
- /// <param name="arg0">A valid handle to the target object.</param>
+ /// <param name="animatable">A valid handle to the target object.</param>
/// <param name="propertyName">The property name.</param>
/// <param name="componentIndex">Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1).</param>
- public Property(Animatable arg0, string propertyName, int componentIndex) : this(Interop.Property.NewProperty(Animatable.getCPtr(arg0), propertyName, componentIndex), true)
+ public Property(Animatable animatable, string propertyName, int componentIndex) : this(Interop.Property.NewProperty(Animatable.getCPtr(animatable), propertyName, componentIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// <summary>
/// Gets or sets the index of the property.
/// </summary>
- public int propertyIndex
+ public int PropertyIndex
{
set
{
/// <summary>
/// Gets or sets the component index of the property.
/// </summary>
- public int componentIndex
+ public int ComponentIndex
{
set
{