}
}
}
+
+ private StringSelector textSelector = new StringSelector();
/// <summary>
/// Text string selector in Button.
/// </summary>
{
get
{
- return (StringSelector)Style?.Text?.Text;
+ return textSelector;
}
set
{
- if (null != value && null != Style.Text)
- {
- Style.Text.Text = value.Clone() as StringSelector;
- }
+ textSelector.Clone(value);
}
}
+
+ private StringSelector translatableTextSelector = new StringSelector();
/// <summary>
/// Translateable text string selector in Button.
/// </summary>
{
get
{
- return (StringSelector)Style?.Text?.TranslatableText;
+ return translatableTextSelector;
}
set
{
- if (null != value && null != Style?.Text)
- {
- Style.Text.TranslatableText = value.Clone() as StringSelector;
- }
+ translatableTextSelector.Clone(value);
}
}
+ private ColorSelector textColorSelector = new ColorSelector();
/// <summary>
/// Text color selector in Button.
/// </summary>
{
get
{
- return (ColorSelector)Style?.Text?.TextColor;
+ return textColorSelector;
}
set
{
- if(null != value && null != Style.Text)
- {
- Style.Text.TextColor = value.Clone() as ColorSelector;
- }
+ textColorSelector.Clone(value);
}
}
+ private FloatSelector pointSizeSelector = new FloatSelector();
/// <summary>
/// Text font size selector in Button.
/// </summary>
{
get
{
- return (FloatSelector)Style?.Text?.PointSize;
+ return pointSizeSelector;
}
set
{
- if (null != value && null != Style?.Text)
- {
- Style.Text.PointSize = value.Clone() as FloatSelector;
- }
+ pointSizeSelector.Clone(value);
}
}
+ private StringSelector iconURLSelector = new StringSelector();
/// <summary>
/// Icon image's resource url selector in Button.
/// </summary>
{
get
{
- return (StringSelector)Style?.Icon?.ResourceUrl;
+ return iconURLSelector;
}
set
{
- if (null != value && null != Style?.Icon)
- {
- Style.Icon.ResourceUrl = value.Clone() as StringSelector;
- }
+ iconURLSelector.Clone(value);
}
}
defaultValueCreator: (bindable) =>
{
var instance = (Popup)bindable;
- return instance.Style.Buttons?.Size?.Height ?? 0;
+ return (int)(instance.Style?.Buttons?.Size?.Height ?? 0);
});
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
defaultValueCreator: (bindable) =>
{
var instance = (Popup)bindable;
- return instance.Style.Buttons?.Text?.FontFamily;
+ return instance.Style?.Buttons?.Text?.FontFamily.All;
});
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
instance.Style.Duration = (uint)newValue;
if (instance.scrollAniPlayer != null)
{
- instance.scrollAniPlayer.Duration = (int)newValue;
+ instance.scrollAniPlayer.Duration = (int)instance.Style.Duration;
}
}
},
}
}
+ private StringSelector thumbImageURLSelector = new StringSelector();
/// <summary>
/// Gets or sets the resource url selector of the thumb image object.
/// </summary>
{
get
{
- return (StringSelector)Style?.Thumb?.ResourceUrl;
+ return thumbImageURLSelector;
}
set
{
- if (null != value && null != Style?.Thumb)
- {
- Style.Thumb.ResourceUrl = value.Clone() as StringSelector;
- }
+ thumbImageURLSelector.Clone(value);
}
}
}
}
+ private StringSelector switchBackgroundImageURLSelector = new StringSelector();
/// <summary>
/// Background image's resource url selector in Switch.
/// </summary>
{
get
{
- return (StringSelector)Style?.Track?.ResourceUrl;
+ return switchBackgroundImageURLSelector;
}
set
{
- if (null != value && null != Style?.Track)
- {
- Style.Track.ResourceUrl = value.Clone() as StringSelector;
- }
+ switchBackgroundImageURLSelector.Clone(value);
}
}
}
}
+ private StringSelector switchHandlerImageURLSelector = new StringSelector();
/// <summary>
/// Handler image's resource url selector in Switch.
/// </summary>
{
get
{
- return (StringSelector)Style?.Thumb?.ResourceUrl;
+ return switchHandlerImageURLSelector;
}
set
{
- if (null != value && null != Style?.Thumb)
- {
- Style.Thumb.ResourceUrl = value.Clone() as StringSelector;
- }
+ switchHandlerImageURLSelector.Clone(value);
}
}
}
}
+ private ColorSelector textColorSelector = new ColorSelector();
/// <summary>
/// Text color selector in Tab.
/// </summary>
{
get
{
- return (ColorSelector)Style?.Text?.TextColor;
+ return textColorSelector;
}
set
{
- if (null != value && null != Style?.Text)
- {
- Style.Text.TextColor = value.Clone() as ColorSelector;
- }
+ textColorSelector.Clone(value);
}
}
Interop.Extents.Extents_start_set(swigCPtr, that.Start);
Interop.Extents.Extents_end_set(swigCPtr, that.End);
Interop.Extents.Extents_top_set(swigCPtr, that.Top);
- Interop.Extents.Extents_bottom_set(swigCPtr, that.End);
+ Interop.Extents.Extents_bottom_set(swigCPtr, that.Bottom);
}
/// <summary>