X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI%2Fsrc%2Fpublic%2FXamlBinding%2FBindableObject.cs;h=c6566970f1509ca44b692d788b93d455242f2f83;hb=0384e2cc1c295729b3b69690c6353a93867731dc;hp=c93ecfa882eeddacdbc534d7e3f95501a918d041;hpb=d4f1504f3e97621b50d2fdfe594cc267b9792509;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs b/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs index c93ecfa..c656697 100755 --- a/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs +++ b/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs @@ -189,7 +189,7 @@ namespace Tizen.NUI.Binding if (property == null) throw new ArgumentNullException(nameof(property)); - if (!IsBinded && property.ValueGetter != null) + if (!IsBound && property.ValueGetter != null) { return property.ValueGetter(this); } @@ -306,7 +306,7 @@ namespace Tizen.NUI.Binding internal void InternalSetValue(BindableProperty property, object value) { - if (true == IsBinded) + if (true == IsBound) { SetValue(property, value, false, true); } @@ -617,7 +617,7 @@ namespace Tizen.NUI.Binding if (fromStyle && !CanBeSetFromStyle(targetProperty)) return; - IsBinded = true; + IsBound = true; var context = GetOrCreateContext(targetProperty); if (fromStyle) @@ -791,7 +791,11 @@ namespace Tizen.NUI.Binding } } - internal bool IsBinded + /// + /// Check if object is bound or not. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public bool IsBound { get; set; @@ -805,7 +809,7 @@ namespace Tizen.NUI.Binding if (newvalue is BindableObject targetBindableObject) { - targetBindableObject.IsBinded = true; + targetBindableObject.IsBound = true; } }