throw new System.Exception("second argument string property is invalid parameter!");
}
- dynamic obj = (object)relativeValue;
+ //dynamic obj = (object)relativeValue;
+ PropertyValue val = PropertyValue.CreateFromObject(relativeValue);
if (alphaFunction != null)
{
- AnimateBy(_prop, new PropertyValue(obj), alphaFunction);
+ AnimateBy(_prop, new PropertyValue(val), alphaFunction);
}
else
{
- AnimateBy(_prop, new PropertyValue(obj));
+ AnimateBy(_prop, new PropertyValue(val));
}
}
throw new System.Exception("second argument string property is invalid parameter!");
}
- dynamic obj = (object)relativeValue;
+ //dynamic obj = (object)relativeValue;
+ PropertyValue val = PropertyValue.CreateFromObject(relativeValue);
if (alphaFunction != null)
{
Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
- AnimateBy(_prop, new PropertyValue(obj), alphaFunction, time);
+ AnimateBy(_prop, new PropertyValue(val), alphaFunction, time);
}
else
{
Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
- AnimateBy(_prop, new PropertyValue(obj), time);
+ AnimateBy(_prop, new PropertyValue(val), time);
}
}
throw new System.Exception("second argument string property is invalid parameter!");
}
- dynamic obj = (object)destinationValue;
+ //dynamic obj = (object)destinationValue;
+ PropertyValue val = PropertyValue.CreateFromObject(destinationValue);
if (alphaFunction != null)
{
- AnimateTo(_prop, new PropertyValue(obj), alphaFunction);
+ AnimateTo(_prop, new PropertyValue(val), alphaFunction);
}
else
{
- AnimateTo(_prop, new PropertyValue(obj));
+ AnimateTo(_prop, new PropertyValue(val));
}
}
throw new System.Exception("second argument string property is invalid parameter!");
}
- dynamic obj = (object)destinationValue;
+ //dynamic obj = (object)destinationValue;
+ PropertyValue val = PropertyValue.CreateFromObject(destinationValue);
if (alphaFunction != null)
{
Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
- AnimateTo(_prop, new PropertyValue(obj), alphaFunction, time);
+ AnimateTo(_prop, new PropertyValue(val), alphaFunction, time);
}
else
{
Tizen.NUI.TimePeriod time = new Tizen.NUI.TimePeriod(MilliSecondsToSeconds(startTime), MilliSecondsToSeconds(endTime - startTime));
- AnimateTo(_prop, new PropertyValue(obj), time);
+ AnimateTo(_prop, new PropertyValue(val), time);
}
}
private float _depthIndex = 0.0f;
protected PropertyMap _outputVisualMap = null;
- public string Name
+ internal string Name
{
set;
get;
}
- public int VisualIndex
+ internal int VisualIndex
{
set;
get;
}
- public VisualView Parent
+ internal VisualView Parent
{
set;
get;
}
}
- public void UpdateVisual()
+ internal void UpdateVisual()
{
if (VisualIndex > 0)
{
string _str1 = _propertyIndex.Substring(0, 1);
string _str2 = _propertyIndex.Substring(1);
string _str = _str1.ToLower() + _str2;
- dynamic _obj = (object)_destinationValue;
+
+ //dynamic _obj = (object)_destinationValue;
+ PropertyValue val = PropertyValue.CreateFromObject(_destinationValue);
PropertyMap _transition = new PropertyMap();
_transition.Add("target", new PropertyValue(_target));
_transition.Add("property", new PropertyValue(_str));
- _transition.Add("targetValue", new PropertyValue(_obj));
+ _transition.Add("targetValue", new PropertyValue(val));
_transition.Add("animator", new PropertyValue(_animator));
_outputVisualMap = _transition;