* [NUI] Add inherit binding context support
* Add inherit binding context for layer
};
ChildAdded(this, e);
}
+ BindableObject.SetInheritedBindingContext(child, this?.BindingContext);
}
}
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
Children.Add(child);
+ BindableObject.SetInheritedBindingContext(child, this?.BindingContext);
}
}
{
self.Root.Add((View)newValue);
}
+ var newElement = (Element)newValue;
+ if (newElement != null)
+ {
+ BindableObject.SetInheritedBindingContext(newElement, bindable.BindingContext);
+ }
});
/// <summary>