/// <summary>
/// The Circle ProgressBar is a widget for visually representing the progress status of a given job/task with the circular design.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public class CircleProgressBar : Widget, ICircleWidget
{
CircleSurface _surface;
/// </summary>
/// <param name="parent">The parent of new Circle Progressbar instance</param>
/// <param name="surface">The surface for drawing circle features for this widget.</param>
+ /// <since_tizen> preview </since_tizen>
public CircleProgressBar(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// Creates and initializes a new instance of the Circle Progressbar class.
/// </summary>
/// <param name="parent">The parent of new Circle Progressbar instance</param>
+ /// <since_tizen> preview </since_tizen>
[Obsolete("It is not safe for guess circle surface from parent and create new surface by every new widget")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircleProgressBar(EvasObject parent) : this(parent, CircleSurface.CreateCircleSurface(parent))
/// <summary>
/// Gets the handle for Circle Widget.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public virtual IntPtr CircleHandle => Handle;
/// <summary>
/// Gets the handle for Circle Surface used in this widget
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public virtual CircleSurface CircleSurface => _surface;
/// <summary>
/// Sets or gets disabled state of this widget.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
[Obsolete("Use IsEnabled")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool Disabled
/// <summary>
/// Sets or gets the state of the widget, which might be enabled or disabled.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public override bool IsEnabled
{
get
/// <summary>
/// Sets or gets the value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double Value
{
get
/// <summary>
/// Sets or gets the maximum value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double Maximum
{
get
/// <summary>
/// Sets or gets the minimum value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double Minimum
{
get
/// <summary>
/// Sets or gets the angle value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BarAngle
{
get
/// <summary>
/// Sets or gets the angle value of Background ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BackgroundAngle
{
get
/// <summary>
/// Sets or gets the angle offset value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BarAngleOffset
{
get
/// <summary>
/// Sets or gets the angle offset value of Background ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BackgroundAngleOffset
{
get
/// <summary>
/// Sets or gets the maximum angle value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BarAngleMaximum
{
get
/// <summary>
/// Sets or gets the minimum angle value of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BarAngleMinimum
{
get
/// <summary>
/// Sets or gets color of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public Color BarColor
{
get
/// <summary>
/// Sets or gets color of Background ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public override Color BackgroundColor
{
get
/// <summary>
/// Sets or gets line width of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public int BarLineWidth
{
get
/// <summary>
/// Sets or gets line width of Background ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public int BackgroundLineWidth
{
get
/// <summary>
/// Sets or gets radius of ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BarRadius
{
get
/// <summary>
/// Sets or gets radius of Background ProgressBar.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
public double BackgroundRadius
{
get
/// </summary>
/// <param name="parent">Parent EvasObject</param>
/// <returns>Handle IntPtr</returns>
+ /// <since_tizen> preview </since_tizen>
protected override IntPtr CreateHandle(EvasObject parent)
{
return Interop.Eext.eext_circle_object_progressbar_add(parent, CircleSurface.Handle);