};
ChildAdded(this, e);
}
- BindableObject.SetInheritedBindingContext(child, this?.BindingContext);
+
+ AddChildBindableObject(child);
}
}
if (child.GetParent() != this)
{
- throw new System.InvalidOperationException("You have deleted a view that is not a child of this view.");
+ //throw new System.InvalidOperationException("You have deleted a view that is not a child of this view.");
+ Tizen.Log.Error("NUI", "You have deleted a view that is not a child of this view.");
}
bool hasLayout = (layout != null);
/// </summary>
/// <seealso cref="Container.GetChildCount" />
/// <since_tizen> 4 </since_tizen>
- // [Obsolete("Deprecated in API9, will be removed in API11. Please use ChildCount property instead!")]
+ [Obsolete("Deprecated in API9, will be removed in API11. Please use ChildCount property instead!")]
public override uint GetChildCount()
{
return Convert.ToUInt32(Children.Count);
}
else
{
- Tizen.Log.Error("NUI", "swigCPtr of view is aleady disposed.");
+ Tizen.Log.Error("NUI", "swigCPtr of view is already disposed.");
}
return ret;
}
/// </summary>
/// <param name="styleName">A string matching a style described in a stylesheet.</param>
/// <since_tizen> 3 </since_tizen>
- // [Obsolete("Deprecated in API9, will be removed in API11. Please use StyleName property instead!")]
+ [Obsolete("Deprecated in API9, will be removed in API11. Please use StyleName property instead!")]
public void SetStyleName(string styleName)
{
Interop.View.SetStyleName(SwigCPtr, styleName);
/// </summary>
/// <returns>A string matching a style, or an empty string.</returns>
/// <since_tizen> 3 </since_tizen>
- // [Obsolete("Deprecated in API9, will be removed in API11. Please use StyleName property instead!")]
+ [Obsolete("Deprecated in API9, will be removed in API11. Please use StyleName property instead!")]
public string GetStyleName()
{
string ret = Interop.View.GetStyleName(SwigCPtr);
/// <since_tizen> 3 </since_tizen>
public void Show()
{
+ if ((AccessibilityCalculateStates() & AccessibilityStates.Modal) != 0)
+ {
+ RegisterPopup();
+ }
+
SetVisible(true);
}
public void Hide()
{
SetVisible(false);
+
+ if ((AccessibilityCalculateStates() & AccessibilityStates.Modal) != 0)
+ {
+ RemovePopup();
+ }
}
/// <summary>
/// <param name="width">The width to use.</param>
/// <returns>The height based on the width.</returns>
/// <since_tizen> 3 </since_tizen>
- // [Obsolete("Deprecated in API9, will be removed in API11. Please use HeightForWidth property instead!")]
+ [Obsolete("Deprecated in API9, will be removed in API11. Please use HeightForWidth property instead!")]
public float GetHeightForWidth(float width)
{
float ret = Interop.Actor.GetHeightForWidth(SwigCPtr, width);
/// <param name="height">The height to use.</param>
/// <returns>The width based on the height.</returns>
/// <since_tizen> 3 </since_tizen>
- // [Obsolete("Deprecated in API9, will be removed in API11. Please use WidthForHeight property instead!")]
+ [Obsolete("Deprecated in API9, will be removed in API11. Please use WidthForHeight property instead!")]
public float GetWidthForHeight(float height)
{
float ret = Interop.Actor.GetWidthForHeight(SwigCPtr, height);
/// </summary>
/// <param name="paddingOut">the value of padding for the view</param>
/// <since_tizen> 3 </since_tizen>
- // [Obsolete("Deprecated in API9, will be removed in API11. Please use Padding property instead!")]
+ [Obsolete("Deprecated in API9, will be removed in API11. Please use Padding property instead!")]
public void GetPadding(PaddingType paddingOut)
{
Interop.Actor.GetPadding(SwigCPtr, PaddingType.getCPtr(paddingOut));
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
-
- /// This will be public opened in tizen_next after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public Transition GetTransition(string transitionName)
- {
- Transition trans = null;
- transDictionary.TryGetValue(transitionName, out trans);
- return trans;
- }
-
/// This will be public opened in tizen_next after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public void ObjectDump()