{
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ImagesProperty = BindableProperty.Create(nameof(Images), typeof(string[]), typeof(Loading), null, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ImageArrayProperty = BindableProperty.Create(nameof(ImageArray), typeof(string[]), typeof(Loading), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var instance = (Loading)bindable;
if (newValue != null)
{
get
{
- return Images;
+ return (string[])GetValue(ImageArrayProperty);
}
set
{
- Images = value;
- }
- }
-
- /// <summary>
- /// Gets or sets loading image resources.
- /// </summary>
- /// <since_tizen> 6 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
- public string[] Images
- {
- get
- {
- return (string[])GetValue(ImagesProperty);
- }
- set
- {
- SetValue(ImagesProperty, value);
+ SetValue(ImageArrayProperty, value);
}
}
};
loading[0] = new Loading();
loading[0].Size = new Size(100, 100);
- loading[0].Images = imageArray;
+ loading[0].ImageArray = imageArray;
layout[1].Add(loading[0]);
gridLayout.Add(layout[1]);