if (property == null)
throw new ArgumentNullException(nameof(property));
- if (!IsBinded && property.ValueGetter != null)
+ if (!IsBound && property.ValueGetter != null)
{
return property.ValueGetter(this);
}
internal void InternalSetValue(BindableProperty property, object value)
{
- if (true == IsBinded)
+ if (true == IsBound)
{
SetValue(property, value, false, true);
}
if (fromStyle && !CanBeSetFromStyle(targetProperty))
return;
- IsBinded = true;
+ IsBound = true;
var context = GetOrCreateContext(targetProperty);
if (fromStyle)
}
}
- internal bool IsBinded
+ /// <summary>
+ /// Check if object is bound or not.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool IsBound
{
get;
set;
if (newvalue is BindableObject targetBindableObject)
{
- targetBindableObject.IsBinded = true;
+ targetBindableObject.IsBound = true;
}
}