{
/// <summary>
- /// The Circle Spinner is a widget to display and handle spinner value by rotary event
+ /// The Circle Spinner is a widget to display and handle the spinner value by the Rotary event.
/// Inherits <see cref="Spinner"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleSpinner : Spinner, IRotaryActionWidget
{
IntPtr _circleHandle;
/// <summary>
/// Creates and initializes a new instance of the Circle Spinner class.
/// </summary>
- /// <param name="parent">The parent of new Circle Spinner instance</param>
+ /// <param name="parent">The parent of the new Circle Spinner instance.</param>
/// <param name="surface">The surface for drawing circle features for this widget.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleSpinner(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// <summary>
/// Creates and initializes a new instance of the Circle Spinner class.
/// </summary>
- /// <param name="parent">The parent of new Circle CircleSpinner instance</param>
+ /// <param name="parent">The parent of the new Circle Spinner 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)]
}
/// <summary>
- /// Gets the handle for Circle Widget.
+ /// Gets the handle for Circle widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual IntPtr CircleHandle => _circleHandle;
/// <summary>
- /// Gets the handle for Circle Surface used in this widget
+ /// Gets the handle for the circle surface used in this widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual CircleSurface CircleSurface => _surface;
/// <summary>
{
get
{
- if(_angleRatio <= 0)
+ if (_angleRatio <= 0)
{
- if(Maximum == Minimum)
+ if (Maximum == Minimum)
{
return 0.0;
}
else
{
- return 360/(Maximum - Minimum);
+ return 360 / (Maximum - Minimum);
}
}
}
set
{
- if(value > 0)
+ if (value > 0)
{
if (_angleRatio == value) return;
}
/// <summary>
- /// Sets or gets disabled state of this widget.
+ /// Sets or gets the disabled state of this widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
[Obsolete("Use IsEnabled")]
/// Sets or gets the state of the widget, which might be enabled or disabled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool IsEnabled
{
get
}
/// <summary>
- /// Sets or gets the line width of the marker
+ /// Sets or gets the line width of the marker.
/// </summary>
+ /// <remarks>
+ /// MarkerLineWidth is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
+ /// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("MarkerLineWidth is obsolete as of version 6.0.0 and is no longer supported")]
public int MarkerLineWidth
{
get
}
/// <summary>
- /// Sets or gets the color of the marker
+ /// Sets or gets the color of the marker.
/// </summary>
+ /// <remarks>
+ /// MarkerColor is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
+ /// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("MarkerColor is obsolete as of version 6.0.0 and is no longer supported")]
public Color MarkerColor
{
get
}
/// <summary>
- /// Sets or gets the radius at which the center of the marker lies
+ /// Sets or gets the radius at which the center of the marker lies.
/// </summary>
+ /// <remarks>
+ /// MarkerRadius is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
+ /// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("MarkerRadius is obsolete as of version 6.0.0 and is no longer supported")]
public double MarkerRadius
{
get
/// <summary>
/// Creates a widget handle.
/// </summary>
- /// <param name="parent">Parent EvasObject</param>
- /// <returns>Handle IntPtr</returns>
+ /// <param name="parent">Parent EvasObject.</param>
+ /// <returns>Handle IntPtr.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = base.CreateHandle(parent);