projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f908c96
)
[NUI] Fix Jira 2295
author
Fang Xiaohui
<xiaohui.fang@samsung.com>
Mon, 31 May 2021 11:14:55 +0000
(19:14 +0800)
committer
dongsug-song
<35130733+dongsug-song@users.noreply.github.com>
Tue, 1 Jun 2021 08:03:31 +0000
(17:03 +0900)
src/Tizen.NUI/src/internal/EXaml/Action/GetValueAction.cs
patch
|
blob
|
history
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs
patch
|
blob
|
history
src/Tizen.NUI/src/public/XamlBinding/Binding.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI/src/internal/EXaml/Action/GetValueAction.cs
b/src/Tizen.NUI/src/internal/EXaml/Action/GetValueAction.cs
index da6717f3732bc4ca7768620c25a5f9118a9e224c..ee4610565f55c3e55d45f53055d18afa243de4e1 100755
(executable)
--- a/
src/Tizen.NUI/src/internal/EXaml/Action/GetValueAction.cs
+++ b/
src/Tizen.NUI/src/internal/EXaml/Action/GetValueAction.cs
@@
-115,16
+115,16
@@
namespace Tizen.NUI.EXaml
return Double.Parse(value);
};
- //l
Boole
an
+ //l
TimeSp
an
getValueByStrings[12] = (string value) =>
{
- return
Boole
an.Parse(value);
+ return
TimeSp
an.Parse(value);
};
- //m
TimeSp
an
+ //m
Boole
an
getValueByStrings[13] = (string value) =>
{
- return
TimeSp
an.Parse(value);
+ return
Boole
an.Parse(value);
};
//n decimal
diff --git
a/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs
b/src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs
index 813c8cbe8d74a886adc1499c8af54013728c2c9f..db70c01f7d3a2502ee2bf098dfaf06250317472b 100755
(executable)
--- a/
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs
+++ b/
src/Tizen.NUI/src/public/XamlBinding/BindableObject.cs
@@
-522,6
+522,8
@@
namespace Tizen.NUI.Binding
if (fromStyle && !CanBeSetFromStyle(targetProperty))
return;
+ IsCreateByXaml = true;
+
var context = GetOrCreateContext(targetProperty);
if (fromStyle)
context.Attributes |= BindableContextAttributes.IsSetFromStyle;
diff --git
a/src/Tizen.NUI/src/public/XamlBinding/Binding.cs
b/src/Tizen.NUI/src/public/XamlBinding/Binding.cs
index e6e91377063f23777cfedca902836711b0335298..e5321878b24b66212dfcb867e33c14d04fa3471f 100755
(executable)
--- a/
src/Tizen.NUI/src/public/XamlBinding/Binding.cs
+++ b/
src/Tizen.NUI/src/public/XamlBinding/Binding.cs
@@
-113,6
+113,11
@@
namespace Tizen.NUI.Binding
{
ThrowIfApplied();
source = value;
+
+ if (source is BindableObject bindableObject)
+ {
+ bindableObject.IsCreateByXaml = true;
+ }
}
}