Change-Id: I053e86dc8fed2d1111b5b1c68d2af42500d4b956
parent.Add(childs[i]);
}
- for (uint i = 0; i < parent.GetChildCount(); i++)
+ for (uint i = 0; i < parent.ChildCount; i++)
{
View child = parent.GetChildAt(i);
View childView = View.DownCast<View>(child);
/// </summary>
/// <pre>The View has been initialized.</pre>
/// <returns>The number of children</returns>
- public uint GetChildCount()
+ internal uint GetChildCount()
{
uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending)
}
/// <summary>
+ /// Get the number of children held by the view.
+ /// </summary>
+ public uint ChildCount
+ {
+ get
+ {
+ return GetChildCount();
+ }
+ }
+
+ /// <summary>
/// Gets/Sets the status of whether an view should emit touch or hover signals.
/// </summary>
public bool Sensitive
SetProperty(View.Property.VISIBLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Get the number of children held by the layer.
+ /// </summary>
+ public uint ChildCount
+ {
+ get
+ {
+ uint ret = NDalicPINVOKE.Actor_GetChildCount(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending)
+ throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+ }
}
}