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 Obsolete attributes for EditorBrowsable apis
[platform/core/csapi/tizenfx.git]
/
src
/
Tizen.NUI
/
src
/
public
/
BaseComponents
/
ImageView.cs
diff --git
a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
index
90d8321
..
3641ddb
100755
(executable)
--- a/
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
+++ b/
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
@@
-198,7
+198,10
@@
namespace Tizen.NUI.BaseComponents
/// Please do not use! this will be deprecated!
/// Instead please use as keyword.
/// <since_tizen> 3 </since_tizen>
/// Please do not use! this will be deprecated!
/// Instead please use as keyword.
/// <since_tizen> 3 </since_tizen>
- [Obsolete("Please DO NOT use! This will be deprecated, instead please USE as keyword.")]
+ [Obsolete("Please do not use! This will be deprecated! Please use as keyword instead! " +
+ "Like: " +
+ "BaseHandle handle = new ImageView(imagePath); " +
+ "ImageView image = handle as ImageView")]
[EditorBrowsable(EditorBrowsableState.Never)]
public new static ImageView DownCast(BaseHandle handle)
{
[EditorBrowsable(EditorBrowsableState.Never)]
public new static ImageView DownCast(BaseHandle handle)
{
@@
-206,6
+209,7
@@
namespace Tizen.NUI.BaseComponents
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+
/// <summary>
/// Sets this ImageView from the given URL.<br />
/// If the URL is empty, ImageView will not display anything.<br />
/// <summary>
/// Sets this ImageView from the given URL.<br />
/// If the URL is empty, ImageView will not display anything.<br />
@@
-269,6
+273,7
@@
namespace Tizen.NUI.BaseComponents
/// ImageView ImageMap, type PropertyMap: string if it is a URL, map otherwise.
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// ImageView ImageMap, type PropertyMap: string if it is a URL, map otherwise.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Please do not use! This will be deprecated! Please use Image property instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap ImageMap
{
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap ImageMap
{
@@
-289,6
+294,7
@@
namespace Tizen.NUI.BaseComponents
{
if (_border == null)
{
{
if (_border == null)
{
+ if (_url != null) { value.Add("url", new PropertyValue(_url)); }
SetProperty(ImageView.Property.IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
SetProperty(ImageView.Property.IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
@@
-317,6
+323,7
@@
namespace Tizen.NUI.BaseComponents
{
if (_border == null)
{
{
if (_border == null)
{
+ if(_url != null) { value.Add("url", new PropertyValue(_url)); }
SetProperty(ImageView.Property.IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
SetProperty(ImageView.Property.IMAGE, new Tizen.NUI.PropertyValue(value));
}
}