projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[NUI] Add bindable properties to Components.
[platform/core/csapi/tizenfx.git]
/
src
/
Tizen.NUI.Components
/
Controls
/
AlertDialog.cs
diff --git
a/src/Tizen.NUI.Components/Controls/AlertDialog.cs
b/src/Tizen.NUI.Components/Controls/AlertDialog.cs
index
9e3a600
..
216acbe
100755
(executable)
--- a/
src/Tizen.NUI.Components/Controls/AlertDialog.cs
+++ b/
src/Tizen.NUI.Components/Controls/AlertDialog.cs
@@
-26,7
+26,7
@@
namespace Tizen.NUI.Components
/// AlertDialog class shows a dialog with title, message and action buttons.
/// </summary>
/// <since_tizen> 9 </since_tizen>
/// AlertDialog class shows a dialog with title, message and action buttons.
/// </summary>
/// <since_tizen> 9 </since_tizen>
- public class AlertDialog : Control
+ public
partial
class AlertDialog : Control
{
private string title = null;
private string message = null;
{
private string title = null;
private string message = null;
@@
-163,6
+163,18
@@
namespace Tizen.NUI.Components
{
get
{
{
get
{
+ return GetValue(TitleProperty) as string;
+ }
+ set
+ {
+ SetValue(TitleProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+ private string InternalTitle
+ {
+ get
+ {
return title;
}
set
return title;
}
set
@@
-192,6
+204,18
@@
namespace Tizen.NUI.Components
{
get
{
{
get
{
+ return GetValue(TitleContentProperty) as View;
+ }
+ set
+ {
+ SetValue(TitleContentProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+ private View InternalTitleContent
+ {
+ get
+ {
return titleContent;
}
set
return titleContent;
}
set
@@
-231,6
+255,18
@@
namespace Tizen.NUI.Components
{
get
{
{
get
{
+ return GetValue(MessageProperty) as string;
+ }
+ set
+ {
+ SetValue(MessageProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+ private string InternalMessage
+ {
+ get
+ {
return message;
}
set
return message;
}
set
@@
-260,6
+296,18
@@
namespace Tizen.NUI.Components
{
get
{
{
get
{
+ return GetValue(ContentProperty) as View;
+ }
+ set
+ {
+ SetValue(ContentProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+ private View InternalContent
+ {
+ get
+ {
return content;
}
set
return content;
}
set
@@
-342,6
+390,18
@@
namespace Tizen.NUI.Components
/// <since_tizen> 9 </since_tizen>
public View ActionContent
{
/// <since_tizen> 9 </since_tizen>
public View ActionContent
{
+ get
+ {
+ return GetValue(ActionContentProperty) as View;
+ }
+ set
+ {
+ SetValue(ActionContentProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+ private View InternalActionContent
+ {
get
{
return actionContent;
get
{
return actionContent;