/// Inherits <see cref="DateTimeSelector"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleDateTimeSelector : DateTimeSelector, IRotaryActionWidget
{
IntPtr _circleHandle;
/// <param name="parent">The parent of the new Circle DateTime 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 CircleDateTimeSelector(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// Gets the handle for the 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 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>
/// 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
/// <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)
{
var handle = base.CreateHandle(parent);
- _circleHandle = Interop.Eext.eext_circle_object_datetime_add(RealHandle == IntPtr.Zero ? handle : RealHandle , CircleSurface.Handle);
+ _circleHandle = Interop.Eext.eext_circle_object_datetime_add(RealHandle == IntPtr.Zero ? handle : RealHandle, CircleSurface.Handle);
return handle;
}
/// Inherits <see cref="GenList"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleGenList : GenList, IRotaryActionWidget
{
IntPtr _circleHandle;
/// <param name="parent">The parent of the new Circle GenList instance.</param>
/// <param name="surface">The surface for drawing the circle features for this widget.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleGenList(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// Gets the handle for the 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 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>
/// 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
/// Sets or gets the color of the scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color VerticalScrollBackgroundColor
{
get
/// Sets or gets the line width of the scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalScrollBackgroundLineWidth
{
get
/// Sets or gets the radius of the scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double VerticalScrollBackgroundRadius
{
get
/// Sets or gets the color of the scrollbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color VerticalScrollBarColor
{
get
/// Sets or gets the line width of the scrollbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalScrollBarLineWidth
{
get
/// Sets or gets the radius of the scrollbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double VerticalScrollBarRadius
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public new ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy
{
get
/// <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)
{
var handle = base.CreateHandle(parent);
/// The Circle ProgressBar is a widget for visually representing the progress status of a given job or task with the circular design.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleProgressBar : Widget, ICircleWidget
{
CircleSurface _surface;
/// <param name="parent">The parent of the new Circle Progressbar 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 CircleProgressBar(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// Gets the handle for the Circle widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual IntPtr CircleHandle => Handle;
/// <summary>
/// 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>
/// 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
/// Sets or gets the value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Value
{
get
/// Sets or gets the maximum value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Maximum
{
get
/// Sets or gets the minimum value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Minimum
{
get
/// Sets or gets the angle value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngle
{
get
/// Sets or gets the angle value of the Background ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BackgroundAngle
{
get
/// Sets or gets the angle offset value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngleOffset
{
get
/// Sets or gets the angle offset value of the Background ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BackgroundAngleOffset
{
get
/// Sets or gets the maximum angle value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngleMaximum
{
get
/// Sets or gets the minimum angle value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngleMinimum
{
get
/// Sets or gets the color of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color BarColor
{
get
/// Sets or gets the color of the Background ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
get
/// Sets or gets the line width of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int BarLineWidth
{
get
/// Sets or gets the line width of the Background ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int BackgroundLineWidth
{
get
/// Sets or gets the radius of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarRadius
{
get
/// Sets or gets the radius of the Background ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BackgroundRadius
{
get
/// <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)
{
return Interop.Eext.eext_circle_object_progressbar_add(parent, CircleSurface.Handle);
/// Circle scroller provides the scrollbar with a circular movement, and is scrolled by the Rotary event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleScroller : Scroller, IRotaryActionWidget
{
IntPtr _circleHandle;
/// <param name="parent">The <see cref="EvasObject"/> to which the new CircleScroller will be attached as a child.</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 CircleScroller(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// Gets the handle for the 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 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>
/// 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
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy
{
get
/// Sets or gets the color of the vertical scroll bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color VerticalScrollBarColor
{
get
/// Sets or gets the color of the horizontal scroll bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color HorizontalScrollBarColor
{
get
/// Sets or gets the color of the vertical scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color VerticalScrollBackgroundColor
{
get
/// Sets or gets the color of the horizontal scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color HorizontalScrollBackgroundColor
{
get
/// Sets or gets the line width of the vertical scroll bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalScrollBarLineWidth
{
get
/// Sets or gets the line width of the horizontal scroll bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int HorizontalScrollBarLineWidth
{
get
/// Sets or gets the line width of the vertical scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalScrollBackgroundLineWidth
{
get
/// Sets or gets the line width of the horizontal scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int HorizontalScrollBackgroundLineWidth
{
get
/// Sets or gets the radius of the vertical scroll bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double VerticalScrollBarRadius
{
get
/// Sets or gets the radius of the horizontal scroll bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double HorizontalScrollBarRadius
{
get
/// Sets or gets the radius of the vertical scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double VerticalScrollBackgroundRadius
{
get
/// Sets or gets the radius of the horizontal scroll background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double HorizontalScrollBackgroundRadius
{
get
/// <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);
/// Circle slider is a circular designed widget used to select a value in a range by the Rotary event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleSlider : Widget, IRotaryActionWidget
{
SmartEvent _changedEvent;
/// <param name="parent">The EvasObject to which the new CircleSlider will be attached as a child.</param>
/// <param name="surface">The surface for drawing the circle features for this widget.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleSlider(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
/// Changed will be triggered when the circle slider value changes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ValueChanged;
/// <summary>
/// Gets the handle for the Circle widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual IntPtr CircleHandle => RealHandle;
/// <summary>
/// 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>
/// The value of the slider is increased/decreased by the step value.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Step
{
get
/// 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
/// Sets or gets the color of the circle slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color BarColor
{
get
/// Sets or gets the color of the circle slider background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
get
/// Sets or gets the line width of the circle slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int BarLineWidth
{
get
/// Sets or gets the line width of the circle slider background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int BackgroundLineWidth
{
get
/// Sets or gets the angle in degree of the circle slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngle
{
get
/// Sets or gets the angle in degree of the circle slider background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BackgroundAngle
{
get
/// Offset value means start position of the slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngleOffset
{
get
/// Offset value means start position of the slider background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BackgroundAngleOffset
{
get
/// Sets or gets the minimum angle of the circle slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngleMinimum
{
get
/// Sets or gets the maximum angle of the circle slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarAngleMaximum
{
get
/// Actual value can be obtained with Value. By default, minimum value is equal to 0.0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Minimum
{
get
/// Maximum must be greater than minimum, otherwise the behavior is undefined.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Maximum
{
get
/// The value must be between minimum and maximum.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Value
{
get
/// Gets or sets the radius value for the circle slider bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BarRadius
{
get
/// Gets or sets the radius value for the circle slider background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BackgroundRadius
{
get
/// The callback of the Realized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// <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)
{
return Interop.Eext.eext_circle_object_slider_add(parent, CircleSurface.Handle);
/// Inherits <see cref="Spinner"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleSpinner : Spinner, IRotaryActionWidget
{
IntPtr _circleHandle;
/// <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);
/// 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 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;
/// 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
/// <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);
/// The CircleSurface presents a surface for drawing the circular feature of circle widgets.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CircleSurface
{
IntPtr _handle;
/// </summary>
/// <param name="conformant">The Conformant widget to create a surface.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleSurface(Conformant conformant)
{
_handle = Interop.Eext.eext_circle_surface_conformant_add(conformant);
/// </summary>
/// <param name="layout">The Layout widget to create a surface.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleSurface(Layout layout)
{
_handle = Interop.Eext.eext_circle_surface_layout_add(layout);
/// </summary>
/// <param name="naviframe">The Naviframe widget to create a surface.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleSurface(Naviframe naviframe)
{
_handle = Interop.Eext.eext_circle_surface_naviframe_add(naviframe.RealHandle);
/// Creates and initializes a new instance of the CircleSurface class with no surface.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CircleSurface()
{
_handle = IntPtr.Zero;
/// Gets the handle for CircleSurface.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IntPtr Handle => _handle;
/// <summary>
/// Deletes the given CircleSurface.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Delete()
{
if (Handle != IntPtr.Zero)
}
}
- internal static CircleSurface CreateCircleSurface(EvasObject obj)
+ internal static CircleSurface CreateCircleSurface(EvasObject obj)
{
if (obj is Conformant) return new CircleSurface(obj as Conformant);
else if (obj is Naviframe) return new CircleSurface(obj as Naviframe);
/// The ICircleWidget is the interface for a widget to display and handle with the CircleSurface.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public interface ICircleWidget
{
/// <summary>
/// Gets the handle for the Circle widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
IntPtr CircleHandle { get; }
/// <summary>
/// Gets the CircleSurface used in this widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
CircleSurface CircleSurface { get; }
}
/// The IRotaryActionWidget is the interface for a widget that has action by the Rotary event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public interface IRotaryActionWidget : ICircleWidget
{
}
/// Inherits Layout
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MoreOption : Layout
{
/// <summary>
/// Sets or gets the list of the more option item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IList<MoreOptionItem> Items { get; private set; }
/// <summary>
/// Selected will be triggered when the user selects an item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MoreOptionItemEventArgs> Selected;
/// <summary>
/// Clicked will be triggered when the user selects the already selected item again or selects a selector.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MoreOptionItemEventArgs> Clicked;
/// <summary>
/// Opened will be triggered when the more option view is shown.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Opened;
/// <summary>
/// Closed will be triggered when the more option view is hidden.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Closed;
SmartEvent<PointerEventArgs> _selectedEvent;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by the MoreOption as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MoreOption(EvasObject parent) : base(parent)
{
Items = new MoreOptionList(this);
/// <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)
{
return Interop.Eext.eext_more_option_add(parent);
/// Sets or gets the direction of more option.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MoreOptionDirection Direction
{
get
/// Sets or gets the visibility of the more option view.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpened
{
get
/// Enumeration for the more option direction types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum MoreOptionDirection
{
/// <summary>
/// The MoreOptionItem is an item of the MoreOption widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MoreOptionItem
{
const string MainTextPartName = "selector,main_text";
/// Sets or gets the more option item handle.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IntPtr Handle
{
get
/// Creates and initializes a new instance of the MoreOptionItem class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MoreOptionItem()
{
_icon = null;
/// Sets or gets the main text of the more option object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string MainText
{
set
/// Sets or gets the subtext of the more option object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string SubText
{
set
/// Sets or gets the icon image.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image Icon
{
set
/// Inherits EventArgs
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MoreOptionItemEventArgs : EventArgs
{
/// <summary>
/// Sets or gets the more option item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MoreOptionItem Item { get; set; }
}
}
/// The RotaryEventManager serves functions for the global Rotary event like Galaxy Gear.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class RotaryEventManager
{
static Dictionary<RotaryEventHandler, Interop.Eext.Eext_Rotary_Handler_Cb> s_rotaryEventHandlers = new Dictionary<RotaryEventHandler, Interop.Eext.Eext_Rotary_Handler_Cb>();
/// Rotated will be triggered when the rotatable device like the Galaxy Gear Bezel is rotated.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static event RotaryEventHandler Rotated
{
add
/// The RotaryEventManager serves extension functions for the Rotary event to EvasObject on a device like Galaxy Gear.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class RotaryEventExtensions
{
static Dictionary<EvasObject, RotaryEventHandler> s_rotaryObjectEventHandlers = new Dictionary<EvasObject, RotaryEventHandler>();
/// <param name="obj">Target EvasObject.</param>
/// <param name="handler">Event handler for the Rotary event.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void AddRotaryEventHandler(this EvasObject obj, RotaryEventHandler handler)
{
EnableRotaryEventHandler(obj);
/// <param name="obj">Target EvasObject.</param>
/// <param name="handler">Event handler for Rotary event.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void RemoveRotaryEventHandler(this EvasObject obj, RotaryEventHandler handler)
{
if (s_rotaryObjectEventHandlers.ContainsKey(obj))
/// </summary>
/// <param name="widget">Target the Circle widget.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Activate(this IRotaryActionWidget widget)
{
Interop.Eext.eext_rotary_object_event_activated_set(widget.CircleHandle, true);
/// </summary>
/// <param name="widget">Target the Circle widget.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Deactivate(this IRotaryActionWidget widget)
{
Interop.Eext.eext_rotary_object_event_activated_set(widget.CircleHandle, false);
/// </summary>
/// <param name="obj">Target object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Activate(this EvasObject obj)
{
Interop.Eext.eext_rotary_object_event_activated_set(obj, true);
/// </summary>
/// <param name="obj">Target object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Deactivate(this EvasObject obj)
{
Interop.Eext.eext_rotary_object_event_activated_set(obj, false);
/// </summary>
/// <param name="args">The Rotary event information.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate void RotaryEventHandler(RotaryEventArgs args);
/// <summary>
/// The RotaryEventArgs serves information for the triggered Rotary event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class RotaryEventArgs : EventArgs
{
/// <summary>
/// IsClockwise is true when the Rotary device rotated in the clockwise direction, or false on counter clockwise.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsClockwise { get; set; }
/// <summary>
/// Timestamp of the Rotary event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public uint Timestamp { get; set; }
}
}
/// Inherits <see cref="Layout"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class RotarySelector : Layout
{
const string IconPartName = "selector,icon";
/// Selected will be triggered when selecting an item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<RotarySelectorItemEventArgs> Selected;
/// <summary>
/// Clicked will be triggered when selecting again the already selected item or selecting a selector.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<RotarySelectorItemEventArgs> Clicked;
SmartEvent<PointerEventArgs> _selectedEvent;
/// Gets the rotary selector item list of a rotary selector object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IList<RotarySelectorItem> Items { get; private set; }
/// <summary>
/// </summary>
/// <param name="parent">The parent of the new Rotary Selector instance.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public RotarySelector(EvasObject parent) : base(parent)
{
Items = new RotarySelectorList(this);
/// Sets or gets the selected item of a rotary selector object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public RotarySelectorItem SelectedItem
{
get
/// Sets or gets the background image of a rotary selector object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image BackgroundImage { set => setPart(ref _normalBgImage, BgPartName, State.Normal, value); get => _normalBgImage; }
/// <summary>
/// <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 ptr = Interop.Eext.eext_rotary_selector_add(parent);
/// An instance to the Rotary Selector item is added. An item can be selected by the Rotary event or user item click.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class RotarySelectorItem
{
const string MainTextPartName = "selector,main_text";
/// Sets or gets the handle of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IntPtr Handle
{
set
/// Sets or gets the main text of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string MainText { set => setPart(ref _mainText, MainTextPartName, value); get => _mainText; }
/// <summary>
/// Sets or gets the subtext of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string SubText { set => setPart(ref _subText, SubTextPartName, value); get => _subText; }
/// <summary>
/// Sets or gets the subtext color of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color MainTextColor { set => setPart(ref _mainTextColor, MainTextPartName, ItemState.Normal, value); get => _mainTextColor; }
/// <summary>
/// Sets or gets the subtext color of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color SubTextColor { set => setPart(ref _subTextColor, SubTextPartName, ItemState.Normal, value); get => _subTextColor; }
/// <summary>
/// Sets or gets the normal icon image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image NormalIconImage { set => setPart(ref _normalIconImage, IconPartName, ItemState.Normal, value); get => _normalIconImage; }
/// <summary>
/// Sets or gets the pressed icon image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image PressedIconImage { set => setPart(ref _pressedIconImage, IconPartName, ItemState.Pressed, value); get => _pressedIconImage; }
/// <summary>
/// Sets or gets the disabled icon image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image DisabledIconImage { set => setPart(ref _disabledIconImage, IconPartName, ItemState.Disabled, value); get => _disabledIconImage; }
/// <summary>
/// Sets or gets the selected icon image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image SelectedIconImage { set => setPart(ref _selectedIconImage, IconPartName, ItemState.Selected, value); get => _selectedIconImage; }
/// <summary>
/// Sets or gets the normal background image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image NormalBackgroundImage { set => setPart(ref _normalBgImage, BgPartName, ItemState.Normal, value); get => _normalBgImage; }
/// <summary>
/// Sets or gets the pressed background image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image PressedBackgroundImage { set => setPart(ref _pressedBgImage, BgPartName, ItemState.Pressed, value); get => _pressedBgImage; }
/// <summary>
/// Sets or gets the disabled background image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image DisabledBackgroundImage { set => setPart(ref _disabledBgImage, BgPartName, ItemState.Disabled, value); get => _disabledBgImage; }
/// <summary>
/// Sets or gets the selected background image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image SelectedBackgroundImage { set => setPart(ref _selectedBgImage, BgPartName, ItemState.Selected, value); get => _selectedBgImage; }
/// <summary>
/// Sets or gets the normal background color of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color NormalBackgroundColor { set => setPart(ref _normalBgColor, BgPartName, ItemState.Normal, value); get => _normalBgColor; }
/// <summary>
/// Sets or gets the pressed background color of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color PressedBackgroundColor { set => setPart(ref _pressedBgColor, BgPartName, ItemState.Pressed, value); get => _pressedBgColor; }
/// <summary>
/// Sets or gets the disabled background color of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color DisabledBackgroundColor { set => setPart(ref _disabledBgColor, BgPartName, ItemState.Disabled, value); get => _disabledBgColor; }
/// <summary>
/// Sets or gets the selected background color of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color SelectedBackgroundColor { set => setPart(ref _selectedBgColor, BgPartName, ItemState.Selected, value); get => _selectedBgColor; }
/// <summary>
/// Sets or gets the selector icon image of a rotary selector item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image SelectorIconImage { set => setPart(ref _selectorIconImage, SelectorIconPartName, ItemState.Normal, value); get => _selectorIconImage; }
internal enum ItemState
/// Inherits <see cref="EventArgs"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class RotarySelectorItemEventArgs : EventArgs
{
/// <summary>
/// Sets or gets the rotary selector item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public RotarySelectorItem Item { get; set; }
}
}
* limitations under the License.
*/
+using System;
namespace ElmSharp.Accessible
{
/// Enumeration for the AccessRole.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum AccessRole
{
/// <summary>
/// <param name="obj">The sender obj.</param>
/// <returns>Return information for name or description.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate string AccessibleInfoProvider (AccessibleObject obj);
/// <summary>
/// There are many relationships between two accessible objects, like <see cref="ChildOf"/>, <see cref="ParentOf"/>, <see cref="FlowsTo"/>, <see cref="FlowsFrom"/>, etc.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class AccessibleObject : EvasObject, IAccessibleObject
{
/// </summary>
/// <param name="parent">Parent EvasObject class.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected AccessibleObject(EvasObject parent) : base(parent)
{
}
/// Creates and initializes a new instance of the AccessibleObject class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected AccessibleObject()
{
}
/// Highlights the accessible widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Highlight()
{
Interop.Elementary.elm_atspi_component_highlight_grab(RealHandle);
/// Clears the highlight of the accessible widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Unhighlight()
{
Interop.Elementary.elm_atspi_component_highlight_clear(RealHandle);
* limitations under the License.
*/
+using System;
namespace ElmSharp.Accessible
{
/// IAccessibleRelation is an interface, which defines the relationship between two accessible objects.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public interface IAccessibleRelation
{
/// Gets or sets the target object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
AccessibleObject Target { get; set; }
/// <summary>
/// Gets the type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
int Type { get; }
}
/// To define the label info for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class LabelledBy : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is LabelledBy.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the LabelledBy type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_LABELLED_BY; }
/// To define the label info for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class LabelFor : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object which is LabelFor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the LabelFor type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_LABEL_FOR; }
/// To define the control relationship for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ControllerFor : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is ControllerFor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the ControllerFor type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_CONTROLLER_FOR; }
/// To define the control relationship for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ControlledBy : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is ControlledBy.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the ControlledBy type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_CONTROLLED_BY; }
/// To define the member relationship for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MemberOf : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is MemberOf.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the MemberOf type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_MEMBER_OF; }
/// To define the tooltip for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class TooltipFor : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is TooltipFor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the TooltipFor type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_TOOLTIP_FOR; }
/// To define the child for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ChildOf : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is ChildOf.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the ChildOf type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_NODE_CHILD_OF; }
/// To define the parent for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ParentOf : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is ParentOf.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the ParentOf type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_NODE_PARENT_OF; }
/// To define the extend for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Extended : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is Extended.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the extended type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EXTENDED; }
/// To define the custom reading order.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FlowsTo : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is FlowsTo.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the FlowsTo type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_FLOWS_TO; }
/// To define the custom reading order.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FlowsFrom : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is FlowsFrom.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the FlowsFrom type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_FLOWS_FROM; }
/// To define the subwindow for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class SubwindowOf : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is SubwindowOf.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the SubwindowOf type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_SUBWINDOW_OF; }
/// To define the embed for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Embeds : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object ,which is Embeds.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the Embeds type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EMBEDS; }
/// To define the embed for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EmbeddedBy : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is EmbeddedBy.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the EmbeddedBy type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_EMBEDDED_BY; }
/// To define the popup for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class PopupFor : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is PopupFor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the PopupFor type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_POPUP_FOR; }
/// To define the parent window for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ParentWindowOf : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is ParentWindowOf.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the ParentWindowOf type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_PARENT_WINDOW_OF; }
/// To define the description for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DescriptionFor : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is DescriptionFor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the DescriptionFor type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_DESCRIPTION_FOR; }
/// To define the description for an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DescribedBy : IAccessibleRelation
{
/// <summary>
/// Gets or sets the target object, which is DescribedBy.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AccessibleObject Target { get; set; }
/// <summary>
/// Gets the DescribedBy type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Type
{
get { return (int)Interop.Elementary.Elm_Atspi_Relation_Type.ELM_ATSPI_RELATION_DESCRIBED_BY; }
/// Enumeration for the ReadingStatus.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ReadingStatus
{
/// <summary>
/// AccessibleUtil provides a method to set the reading information.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class AccessibleUtil
{
static void AtspiSignalCallback(IntPtr data, string say_signal)
{
GCHandle gch = GCHandle.FromIntPtr(data);
- TaskCompletionSource<ReadingStatus> tcs = (TaskCompletionSource<ReadingStatus>) gch.Target;
+ TaskCompletionSource<ReadingStatus> tcs = (TaskCompletionSource<ReadingStatus>)gch.Target;
if (say_signal.Equals("ReadingCancelled"))
{
tcs.SetResult(ReadingStatus.Cancelled);
/// <param name="discardable">If true, reading can be discarded by subsequent reading requests. If false, reading must be finished before the next reading request can be started.</param>
/// <returns>Return a task with the reading status.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static Task<ReadingStatus> Say(string text, bool discardable)
{
var tcs = new TaskCompletionSource<ReadingStatus>();
/// Enumeration for the AnimationView state
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum AnimationViewState
{
/// <summary>
/// Currently ElmSharp AnimationView is supporting only json format (known for Lottie file as well).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class AnimationView : EvasObject
{
private SmartEvent _started;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by AnimationView as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AnimationView(EvasObject parent) : base(parent)
{
_started = new SmartEvent(this, this.Handle, "play,start");
/// It occurs when the animation is just started.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Started;
/// <summary>
/// It occurs when the animation is just repeated.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Repeated;
/// <summary>
/// It occurs when the animation is just finished.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Finished;
/// <summary>
/// It occurs when the animation is just paused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Paused;
/// <summary>
/// It occurs when the animation is just resumed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Resumed;
/// <summary>
/// It occurs when the animation is just stopped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Stopped;
/// <summary>
/// It occurs when the animation is updated to the next frame.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Updated;
/// <summary>
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoPlay
{
get
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoRepeat
{
get
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Speed
{
get
/// If current animation source isn't animatable, it returns zero.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double DurationTime
{
get
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Progress
{
get
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Frame
{
get
/// Get the default view size that specified from vector resource.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size DefaultSize
{
get
/// Get current animation view state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AnimationViewState State
{
get
/// If AnimationView is not on playing, it will return False.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsReversedPlaying
{
get
/// Frame number starts with 0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int FrameCount
{
get
/// Default value is 0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double MinProgress
{
get
/// Default value is 1.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double MaxProgress
{
get
/// Default value is 0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MinFrame
{
get
/// Default value is FrameCount -1.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MaxFrame
{
get
/// </summary>
/// <param name="file">The animation file path.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetAnimation(string file)
{
Interop.Elementary.elm_animation_view_file_set(Handle, file, null);
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Play()
{
Interop.Elementary.elm_animation_view_play(Handle);
/// </summary>
/// <param name="isReverse">Whether the animation play or reverse play.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Play(bool isReverse)
{
if (!isReverse)
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Pause()
{
Interop.Elementary.elm_animation_view_pause(Handle);
/// This resume must be called on animation paused status.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Resume()
{
Interop.Elementary.elm_animation_view_resume(Handle);
/// </remarks>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Stop()
{
Interop.Elementary.elm_animation_view_stop(Handle);
/// <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)
{
return Interop.Elementary.elm_animation_view_add(parent.Handle);
/// or to any container object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Background : Layout
{
/// <summary>
/// </summary>
/// <param name="parent">The EvasObject to which the new background will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Background(EvasObject parent) : base(parent)
{
Style = "transparent";
/// Sets or gets the color to the background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color Color
{
get
/// Sets or gets the image to the background.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string File
{
get
/// The image can be display tiled, scaled, centered, or stretched. Scaled by default.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public BackgroundOptions BackgroundOption
{
get
/// <param name="w">The new width of the image pixmap representation.</param>
/// <param name="h">The new height of the image pixmap representation.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFileLoadSize(int w, int h)
{
if (File != null)
/// <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)
{
return Interop.Elementary.elm_bg_add(parent.Handle);
/// Enumeration for the background types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum BackgroundOptions
{
/// <summary>
/// The Box is a container that is used to arrange UI components in a linear order.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Box : Container
{
private Interop.Elementary.BoxLayoutCallback _layoutCallback;
/// </summary>
/// <param name="parent">The EvasObject to which the new Box will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Box(EvasObject parent) : base(parent)
{
}
/// Sets or gets the IsHorizontal value, which describe the pack direction. Vertical is default.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Sets or gets whether the box has to arrange its children homogeneously.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHomogeneous
{
get
/// </remarks>
/// <param name="content">The oject to be packed.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PackEnd(EvasObject content)
{
Interop.Elementary.elm_box_pack_end(RealHandle, content);
/// </remarks>
/// <param name="content">The object to be packed.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PackStart(EvasObject content)
{
Interop.Elementary.elm_box_pack_start(RealHandle, content);
/// <param name="content">The object will be added in the box.</param>
/// <param name="after">The object has been added in the box.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PackAfter(EvasObject content, EvasObject after)
{
Interop.Elementary.elm_box_pack_after(RealHandle, content, after);
/// <param name="content">The object will be added in the box.</param>
/// <param name="before">The object has been added in the box.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PackBefore(EvasObject content, EvasObject before)
{
Interop.Elementary.elm_box_pack_before(RealHandle, content, before);
/// </summary>
/// <param name="content">The object to unpack.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UnPack(EvasObject content)
{
Interop.Elementary.elm_box_unpack(RealHandle, content);
/// Removes all the objects from the Box container.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UnPackAll()
{
Interop.Elementary.elm_box_unpack_all(RealHandle);
/// </summary>
/// <param name="action">The callback function used for layout.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetLayoutCallback(Action action)
{
_layoutCallback = (obj, priv, data) =>
/// <param name="part">The name of part class, it could be 'bg', 'elm.swllow.content'.</param>
/// <param name="color">The color value.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void SetPartColor(string part, Color color)
{
Interop.Elementary.elm_object_color_class_color_set(Handle, part, color.R * color.A / 255,
/// <param name="part">The name of part class, it could be 'bg', 'elm.swllow.content'.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color GetPartColor(string part)
{
int r, g, b, a;
/// While this is great as it would save lots of recalculation, whenever you need to get the position of a just added item, you must force recalculate before doing so.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Recalculate()
{
Interop.Elementary.elm_box_recalculate(RealHandle);
/// Remove all the elements contained by the box, deleting the respective objects.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_box_clear(RealHandle);
/// <param name="horizontal">Horizontal alignment.</param>
/// <param name="vertical">Vertical alignment.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetBoxAlignment(double horizontal, double vertical)
{
Interop.Elementary.elm_box_align_set(RealHandle, horizontal, vertical);
/// <param name="horizontal">Horizontal padding.</param>
/// <param name="vertical">Vertical padding.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPadding(int horizontal, int vertical)
{
Interop.Elementary.elm_box_padding_set(RealHandle, horizontal, vertical);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The Button is a widget that works as a clickable input element to trigger events.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Button : Layout
{
private SmartEvent _clicked;
/// The EvasObject to which the new Button will be attached as a child.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Button(EvasObject parent) : base(parent)
{
_clicked = new SmartEvent(this, this.RealHandle, "clicked");
/// Clicked will be triggered when the button is clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
/// <summary>
/// Repeated will be triggered when the button is pressed without releasing it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Repeated;
/// <summary>
/// Pressed will be triggered when the button is pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Pressed;
/// <summary>
/// Released will be triggered when the button is released after being pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Released;
/// <summary>
/// and the time between each new emission is given by AutoRepeatGapTimeout.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoRepeat
{
get
/// Sets or gets the initial timeout before the Repeat event is generated.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double AutoRepeatInitialTime
{
get
/// Sets or gets the interval between each generated Repeat event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double AutoRepeatGapTimeout
{
get
/// Sets or gets the BackgroundColor of a given button in the normal and pressed status.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
set
/// <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)
{
return Interop.Elementary.elm_button_add(parent.Handle);
using System.Linq;
using System.Runtime.InteropServices;
-
namespace ElmSharp
{
/// <summary>
/// Enumeration for event periodicity, used to define if a mark should be repeated beyond the event's day. It's set when a mark is added.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum CalendarMarkRepeatType
{
/// <summary>
/// Enumeration for the mode, which determines how a user could select a day.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum CalendarSelectMode
{
/// <summary>
/// Enumeration for defining which fields of a tm struct will be taken into account.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum CalendarSelectable
{
/// The CalendarMark is an item for marking a Calendar's type, date, and repeat type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CalendarMark
{
internal IntPtr Handle;
/// A string used to define the type of mark.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Type;
/// <summary>
/// A time struct to represent the date of inclusion of the mark.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime Date;
/// <summary>
/// Repeats the event following this periodicity.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CalendarMarkRepeatType Repeat;
/// <summary>
/// <param name="date">Date of inclusion of the mark.</param>
/// <param name="repeat">Repeat type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CalendarMark(string type, DateTime date, CalendarMarkRepeatType repeat)
{
Handle = IntPtr.Zero;
/// The Calendar is a widget that helps applications to flexibly display a calender with day of the week, date, year, and month.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Calendar : Layout
{
SmartEvent _changed;
/// The EvasObject to which the new calendar will be attached as a child.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Calendar(EvasObject parent) : base(parent)
{
_changed = new SmartEvent(this, this.RealHandle, "changed");
/// DateChanged will be triggered when the date in the calendar is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<DateChangedEventArgs> DateChanged;
/// <summary>
/// DisplayedMonthChanged will be triggered when the current month displayed in the calendar is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<DisplayedMonthChangedEventArgs> DisplayedMonthChanged;
/// <summary>
/// <param name="time">DateTime</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate string DateFormatDelegate(DateTime time);
/// <summary>
/// Sets or gets the minimum for year.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MinimumYear
{
get
/// Sets or gets the maximum for the year.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MaximumYear
{
get
/// Sets or gets the first day of the week, which is used on the calendar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime DisplayedTime
{
get
/// Sets or gets the first day of the week, which is used on the calendar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DayOfWeek FirstDayOfWeek
{
get
/// Calendar.WeekDayNames = weekDayNames;
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IReadOnlyList<string> WeekDayNames
{
get
/// The selected date changes when the user goes to the next/previous month or selects a day pressing over it on the calendar.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime SelectedDate
{
get
/// hold, on the calendar widgets' month/year selection.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Interval
{
get
/// Gets or sets the select day mode used.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CalendarSelectMode SelectMode
{
get
/// Gets or sets the fields of a datetime that will be taken into account, when SelectedDate set is invoked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CalendarSelectable Selectable
{
get
/// Gets or sets the date format of the string that will be used to display month and year.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateFormatDelegate DateFormat
{
get
/// <param name="repeat">Repeat the event following this periodicity. Can be a unique mark (that doesn't repeat), daily, weekly, monthly, or annually.</param>
/// <returns>Item for a calendar mark.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CalendarMark AddMark(string type, DateTime date, CalendarMarkRepeatType repeat)
{
CalendarMark mark = new CalendarMark(type, date, repeat);
/// </summary>
/// <param name="mark">Item for a calendar mark.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeleteMark(CalendarMark mark)
{
Interop.Elementary.elm_calendar_mark_del(mark.Handle);
/// Draws the calendar marks.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DrawMarks()
{
Interop.Elementary.elm_calendar_marks_draw(RealHandle);
/// Removes all the calendar's marks.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearMarks()
{
Interop.Elementary.elm_calendar_marks_clear(RealHandle);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The Check is a widget that allows for toggling a value between true and false.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Check : Layout
{
private SmartEvent _changed;
/// The EvasObject to which the new check will be attached as a child.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Check(EvasObject parent) : base(parent)
{
_changed = new SmartEvent(this, this.RealHandle, "changed");
/// StateChanged will be triggered when the IsChecked in the check is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<CheckStateChangedEventArgs> StateChanged;
/// <summary>
/// When an object is checked, the value will be set to true. Conversely, will be set to false.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsChecked
{
get
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// Include the old state and the new state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CheckStateChangedEventArgs : EventArgs
{
/// <summary>
/// Gets the OldState property. The return type is bool.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool OldState { get; private set; }
/// <summary>
/// Gets the NewState property. The return type is bool.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool NewState { get; private set; }
/// <summary>
/// <param name="oldState">Old state of check to use this CheckStateChangedEventArgs.</param>
/// <param name="newState">New state of check to use this CheckStateChangedEventArgs.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CheckStateChangedEventArgs(bool oldState, bool newState)
{
this.OldState = oldState;
/// The Color is a struct to record the check's state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public struct Color
{
readonly int _a;
/// In the default Color instance, the mode type is default with RGBA all set as -1.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static Color Default
{
get { return new Color(-1, -1, -1, -1, Mode.Default); }
/// The return type is bool.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsDefault
{
get { return _mode == Mode.Default; }
/// A means the Alpha in color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int A
{
get { return _a; }
/// R means the Red in color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int R
{
get { return _r; }
/// G means the Green in color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int G
{
get { return _g; }
/// B means the Blue in color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int B
{
get { return _b; }
/// <param name="g">Green of RGB.</param>
/// <param name="b">Blue of RGB.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color(int r, int g, int b) : this(r, g, b, 255)
{
}
/// <param name="b">Blue of RGBA.</param>
/// <param name="a">Alpha of RGBA.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color(int r, int g, int b, int a) : this(r, g, b, a, Mode.Rgb)
{
}
/// </summary>
/// <returns>A 32-bit signed integer hash code.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
{
int hashcode = _r.GetHashCode();
/// otherwise, false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
{
if (obj is Color)
/// Return type is bool. If they are same, return true.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator ==(Color a, Color b)
{
return EqualsInner(a, b);
/// Return type is bool. If they are different, return true.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator !=(Color a, Color b)
{
return !(a == b);
/// </summary>
/// <returns>The fully qualified type name.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string ToString()
{
return string.Format(CultureInfo.InvariantCulture, "[Color: R={0}, G={1}, B={2}, A={3}]", R, G, B, A);
/// <param name="hex">Hexadecimal string.</param>
/// <returns>New instance of the Color struct.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static Color FromHex(string hex)
{
string ret = hex.Replace("#", "");
/// <param name="argb">Unsigned integer indicates RGBA.</param>
/// <returns>New instance of the Color struct.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static Color FromUint(uint argb)
{
return FromRgba((byte)((argb & 0x00ff0000) >> 0x10), (byte)((argb & 0x0000ff00) >> 0x8), (byte)(argb & 0x000000ff), (byte)((argb & 0xff000000) >> 0x18));
/// <param name="a">Alpha of RGBA.</param>
/// <returns>New instance of the Color struct.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static Color FromRgba(int r, int g, int b, int a)
{
return new Color(r, g, b, a);
/// <param name="b">Blue of RGB.</param>
/// <returns>New instance of the Color struct.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static Color FromRgb(int r, int g, int b)
{
return FromRgba(r, g, b, 255);
/// The Tansparent is a predefined Color instance. It's RGBA value is (0, 0, 0, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Transparent = FromRgba(0, 0, 0, 0);
/// <summary>
/// The Aqua is a predefined Color instance. It's RGB value is (0, 255, 255).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Aqua = FromRgb(0, 255, 255);
/// <summary>
/// The Black is a predefined Color instance. It's RGB value is (0, 0, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Black = FromRgb(0, 0, 0);
/// <summary>
/// The Blue is a predefined Color instance. It's RGB value is (0, 0, 255).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Blue = FromRgb(0, 0, 255);
/// <summary>
/// The Fuchsia is a predefined Color instance. It's RGB value is (255, 0, 255).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Fuchsia = FromRgb(255, 0, 255);
/// <summary>
/// The Gray is a predefined Color instance. It's RGB value is (128, 128, 128).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Gray = FromRgb(128, 128, 128);
/// <summary>
/// The Green is a predefined Color instance. It's RGB value is (0, 128, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Green = FromRgb(0, 128, 0);
/// <summary>
/// The Lime is a predefined Color instance. It's RGB value is (0, 255, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Lime = FromRgb(0, 255, 0);
/// <summary>
/// The Maroon is a predefined Color instance. It's RGB value is (128, 0, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Maroon = FromRgb(128, 0, 0);
/// <summary>
/// The Navy is a predefined Color instance. It's RGB value is (0, 0, 128).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Navy = FromRgb(0, 0, 128);
/// <summary>
/// The Olive is a predefined Color instance. It's RGB value is (128, 128, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Olive = FromRgb(128, 128, 0);
/// <summary>
/// The Orange is a predefined Color instance. It's RGB value is (255, 165, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Orange = FromRgb(255, 165, 0);
/// <summary>
/// The Purple is a predefined Color instance. It's RGB value is (128, 0, 128).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Purple = FromRgb(128, 0, 128);
/// <summary>
/// The Pink is a predefined Color instance. It's RGB value is (255, 102, 255).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Pink = FromRgb(255, 102, 255);
/// <summary>
/// The Red is a predefined Color instance. It's RGB value is (255, 0, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Red = FromRgb(255, 0, 0);
/// <summary>
/// The Silver is a predefined Color instance. It's RGB value is (192, 192, 192).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Silver = FromRgb(192, 192, 192);
/// <summary>
/// The Teal is a predefined Color instance. It's RGB value is (0, 128, 128).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Teal = FromRgb(0, 128, 128);
/// <summary>
/// The White is a predefined Color instance. It's RGB value is (255, 255, 255).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color White = FromRgb(255, 255, 255);
/// <summary>
/// The Yellow is a predefined Color instance. It's RGB value is (255, 255, 0).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly Color Yellow = FromRgb(255, 255, 0);
#endregion
}
/// Refer to <see cref="ColorSelector"/>type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ColorChangedEventArgs : EventArgs
{
/// <summary>
/// Gets an old color in the color changed event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color OldColor { get; private set; }
/// <summary>
/// Gets a new color in the color changed event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color NewColor { get; private set; }
/// <summary>
/// <param name="oldColor">Old color.</param>
/// <param name="newColor">New color.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ColorChangedEventArgs(Color oldColor, Color newColor)
{
this.OldColor = oldColor;
/// Enumeration for the modes of ColorSelector.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ColorSelectorMode
{
/// <summary>
/// color items on the palette, or by selecting it from the selector.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ColorSelector : Layout
{
private readonly SmartEvent<ColorChangedEventArgs> _changed;
/// </summary>
/// <param name="parent"></param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ColorSelector(EvasObject parent) : base(parent)
{
_changed = new SmartEvent<ColorChangedEventArgs>(this, "changed", (data, obj, info) =>
/// ColorChanged will be triggered when the SelectedColor is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ColorChangedEventArgs> ColorChanged
{
add { _changed.On += value; }
/// Gets or sets the color of colorselector.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color SelectedColor
{
get
/// Gets the Alpha of a default Color class (value is -1).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int Opacity
{
get
/// Gets or sets the Colorselector's mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ColorSelectorMode Mode
{
get
/// Gets or sets the current palette's name.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string PaletteName
{
get
/// <param name="color">The color item to add.</param>
/// <returns>A new color palette Item.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ColorSelectorItem AddPaletteColor(Color color)
{
ColorSelectorItem item = new ColorSelectorItem(this);
/// Clears the palette items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearPalette()
{
Interop.Elementary.elm_colorselector_palette_clear(Handle);
/// <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)
{
return Interop.Elementary.elm_colorselector_add(parent.Handle);
/// An instance to the ColorSelector item gets added.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ColorSelectorItem : ItemObject
{
internal ColorSelectorItem() : base(IntPtr.Zero)
/// Gets or sets the palette item's color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color Color
{
get
/// virtual keypad & softkey windows when running the illume2 module of E17.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Conformant : Widget
{
/// <summary>
/// <param name="parent">The parent is a given container, which will be attached by Conformant
/// as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Conformant(Window parent) : base(parent)
{
Interop.Evas.evas_object_size_hint_weight_set(Handle, 1.0, 1.0);
/// <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)
{
return Interop.Elementary.elm_conformant_add(parent.Handle);
/// its widgets in a nice layout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class Container : Widget
{
HashSet<EvasObject> _children = new HashSet<EvasObject>();
/// <param name="parent">The parent is a given object, which will be attached by the Container
/// as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Container(EvasObject parent) : base(parent)
{
}
/// Creates and initializes a new instance of the Container class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Container()
{
}
/// Sets the background color of a given Container.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
set
/// Gets the collection of a child EvasObject of the Container.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected IEnumerable<EvasObject> Children => _children;
/// <summary>
/// </summary>
/// <param name="obj">The EvasObject object to be added.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected void AddChild(EvasObject obj)
{
_children.Add(obj);
/// </summary>
/// <param name="obj">The EvasObject object to be removed.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected void RemoveChild(EvasObject obj)
{
_children.Remove(obj);
/// Clears all the children of the Container.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected void ClearChildren()
{
_children.Clear();
/// Enumeration for the ContextPopup direction types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ContextPopupDirection
{
/// <summary>
/// The ContextPopup is a widget that when shown, pops up a list of items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ContextPopup : Layout
{
HashSet<ContextPopupItem> _children = new HashSet<ContextPopupItem>();
/// <param name="parent">The parent is a given container, which will be attached by ContextPopup
/// as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ContextPopup(EvasObject parent) : base(parent)
{
_dismissed = new SmartEvent(this, this.RealHandle, "dismissed");
/// Outside of ContextPopup is clicked or it's parent area is changed or the language is changed, and then ContextPopup is dismissed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Dismissed;
/// <summary>
/// Once the ContextPopup shows up, the direction would be determined.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ContextPopupDirection Direction
{
get
/// True for horizontal mode, False for vertical mode (or errors).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Default value of AutoHide is False.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoHide
{
get
/// Clears all the items in a given ContextPopup object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_ctxpopup_clear(Handle);
/// <param name="third">3th priority of the direction.</param>
/// <param name="fourth">4th priority of the direction.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetDirectionPriorty(ContextPopupDirection first, ContextPopupDirection second, ContextPopupDirection third, ContextPopupDirection fourth)
{
Interop.Elementary.elm_ctxpopup_direction_priority_set(RealHandle, (int)first, (int)second, (int)third, (int)fourth);
/// <param name="third">2nd priority of the direction to be returned.</param>
/// <param name="fourth">4th priority of the direction to be returned.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void GetDirectionPriority(out ContextPopupDirection first, out ContextPopupDirection second, out ContextPopupDirection third, out ContextPopupDirection fourth)
{
int firstOut, secondOut, thirdOut, fourthOut;
/// A ContextPopupItem added, or null on errors.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ContextPopupItem Append(string label)
{
return Append(label, null);
/// <param name="icon">Icon to be set on the new item.</param>
/// <returns>A ContextPopupItem added, or null on errors.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ContextPopupItem Append(string label, EvasObject icon)
{
ContextPopupItem item = new ContextPopupItem(label, icon, this);
/// Dismisses a ContextPopup object. The ContextPopup will be hidden and the "clicked" signal will be emitted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dismiss()
{
Interop.Elementary.elm_ctxpopup_dismiss(RealHandle);
/// Get false if you cannot put it in the direction. Get true if it's possible.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
/// [Obsolete("IsAvailableDirection is obsolete as of API6 and is no longer supported.")]
public bool IsAvailableDirection(ContextPopupDirection direction)
{
/// Gets the Alpha of a default Color class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int Opacity
{
get
/// <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)
{
return Interop.Elementary.elm_ctxpopup_add(parent.Handle);
/// An instance to the ContextPopup item is added.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ContextPopupItem : ItemObject
{
internal ContextPopupItem(string text, EvasObject icon) : base(IntPtr.Zero)
/// Gets the Text property of the given ContextPopupItem.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text { get; internal set; }
/// <summary>
/// Gets the Icon (type is <see cref="EvasObject"/>) property of the given ContextPopupItem.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject Icon { get; internal set; }
/// <summary>
/// Selected will be triggered when the ContextPopupItem is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
internal void SendSelected()
/// contain the DateChangedEventArgs as a parameter.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DateChangedEventArgs : EventArgs
{
/// <summary>
/// Gets the OldDate property of the given DateChangedEventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime OldDate { get; private set; }
/// <summary>
/// Gets the NewDate property of the given DateChangedEventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime NewDate { get; private set; }
/// <summary>
/// New date when the DateChanged event or DateTimeChanged event triggered.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateChangedEventArgs(DateTime oldDate, DateTime newDate)
{
this.OldDate = oldDate;
/// Enumeration for the datetime field types for DateTimeSelector.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum DateTimeFieldType
{
/// <summary>
/// (Date includes Day, Month & Year) along with the defined separators and time including hour, minute & AM/PM fields. Separator for the AM/PM field is ignored.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DateTimeSelector : Layout
{
SmartEvent _changed;
/// <param name="parent">The parent is a given container, which will be attached by the DateTimeSelector
/// as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTimeSelector(EvasObject parent) : base(parent)
{
}
/// Creates and initializes a new instance of the DateTimeSelector class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected DateTimeSelector() : base()
{
}
/// ItemSelected is raised when the DateTime field value is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<DateChangedEventArgs> DateTimeChanged;
/// <summary>
/// Format is a combination of the allowed LIBC date format specifiers like: "%b %d, %Y %I : %M %p".
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Format
{
get
/// Gets or sets the upper boundary of the DateTime field.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime MaximumDateTime
{
get
/// Gets or sets the lower boundary of the DateTime field.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime MinimumDateTime
{
get
/// Gets or sets the current value of the DateTime field.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DateTime DateTime
{
get
/// Type is bool. If visible, return true.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFieldVisible(DateTimeFieldType type)
{
return Interop.Elementary.elm_datetime_field_visible_get(RealHandle, (int)type);
/// <param name="minimum">The minimum limit.</param>
/// <param name="maximum">The maximum limit.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFieldLimit(DateTimeFieldType type, int minimum, int maximum)
{
Interop.Elementary.elm_datetime_field_limit_set(RealHandle, (int)type, minimum, maximum);
/// <param name="type">Enumeration for <see cref="DateTimeFieldType"/>.</param>
/// <param name="visible">When set as true, the field type is visible.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFieldVisible(DateTimeFieldType type, bool visible)
{
Interop.Elementary.elm_datetime_field_visible_set(RealHandle, (int)type, visible);
/// The callback of the Realized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// DisplayedMonthChangedEventArgs as a parameter.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DisplayedMonthChangedEventArgs : EventArgs
{
/// <summary>
/// Gets the OldMonth property of the given DisplayedMonthChangedEventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int OldMonth { get; private set; }
/// <summary>
/// Gets the NewMonth property of the given DisplayedMonthChangedEventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int NewMonth { get; private set; }
/// <summary>
/// New month of the date when the DisplayedMonthChangedEvent triggered.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DisplayedMonthChangedEventArgs(int oldMonth, int newMonth)
{
this.OldMonth = oldMonth;
/// EcoreAnimator is a helper class. It provides the functions to manage animations.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class EcoreAnimator
{
static readonly Dictionary<int, Func<bool>> _taskMap = new Dictionary<int, Func<bool>>();
/// </summary>
/// <returns>Current system time</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static double GetCurrentTime()
{
return Interop.Ecore.ecore_time_get();
/// <param name="handler">The function to call when it ticks off.</param>
/// <returns>A handle to the new animator.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static IntPtr AddAnimator(Func<bool> handler)
{
int id = RegistHandler(handler);
/// </summary>
/// <param name="anim">The specified animator handle.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void RemoveAnimator(IntPtr anim)
{
int taskId = (int)Interop.Ecore.ecore_animator_del(anim);
/// It includes some predefined instance.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EcoreEventType
{
/// <summary>
/// Key down Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType KeyDown = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_KEY_DOWN");
/// <summary>
/// Key Up Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType KeyUp = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_KEY_UP");
/// <summary>
/// Mouse Button Down Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseButtonDown = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_BUTTON_DOWN");
/// <summary>
/// Mouse Button Up Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseButtonUp = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_BUTTON_UP");
/// <summary>
/// Mouse Button Cancel Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseButtonCancel = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_BUTTON_CANCEL");
/// <summary>
/// Mouse Move Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseMove = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_MOVE");
/// <summary>
/// Mouse Wheel Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseWheel = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_WHEEL");
/// <summary>
/// Mouse In Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseIn = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_IN");
/// <summary>
/// Mouse Out Ecore event type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly EcoreEventType MouseOut = new EcoreEventType(Interop.Libraries.EcoreInput, "ECORE_EVENT_MOUSE_OUT");
private string _lib;
/// </summary>
/// <returns>The value of type.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int GetValue()
{
if (_typeValue < 0)
/// </summary>
/// <typeparam name="TEventArgs">Kinds of EventArgs.</typeparam>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EcoreEvent<TEventArgs> : IDisposable where TEventArgs : EventArgs
{
/// <summary>
/// <param name="info">IntPtr</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate TEventArgs EventInfoParser(IntPtr data, EcoreEventType type, IntPtr info);
private bool _disposed = false;
/// </summary>
/// <param name="type">EcoreEventType</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EcoreEvent(EcoreEventType type) : this(type, null)
{
}
/// <param name="type">EcoreEventType</param>
/// <param name="parser">EventInfoParser</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EcoreEvent(EcoreEventType type, EventInfoParser parser)
{
_eventType = type;
/// On Event Handler of the EcoreEvent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<TEventArgs> On
{
add
/// otherwise false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// The event class for EcoreEvent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EcoreEvent : EcoreEvent<EventArgs>
{
/// <summary>
/// </summary>
/// <param name="type">EcoreEventType</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EcoreEvent(EcoreEventType type) : base(type)
{
}
/// The EcoreKeyEventArgs is an EventArgs to record the Ecore event's key name and key code.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EcoreKeyEventArgs : EventArgs
{
/// <summary>
/// Gets the KeyName property. The return type is string.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string KeyName { get; private set; }
/// <summary>
/// Gets the KeyCode property. The return type is int.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int KeyCode { get; private set; }
/// <summary>
/// <param name="info">information</param>
/// <returns>New instance of the EcoreKeyEventArgs class.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static EcoreKeyEventArgs Create(IntPtr data, EcoreEventType type, IntPtr info)
{
var evt = Marshal.PtrToStructure<EcoreEventKey>(info);
return new EcoreKeyEventArgs { KeyName = evt.keyname, KeyCode = (int)evt.keycode };
}
- [NativeStruct("Ecore_Event_Key", Include="Elementary.h" , PkgConfig="elementary")]
+ [NativeStruct("Ecore_Event_Key", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
struct EcoreEventKey
{
/// EcoreMainloop is a helper class, which provides the functions relative to Ecore's main loop.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class EcoreMainloop
{
/// </summary>
/// <remarks>True if the calling function is the same thread, false otherwise.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool IsMainThread => Interop.Eina.eina_main_loop_is();
/// <summary>
/// Runs the application main loop.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Begin()
{
Interop.Ecore.ecore_main_loop_begin();
/// Quits the main loop, once all the events currently on the queue have been processed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Quit()
{
Interop.Ecore.ecore_main_loop_quit();
/// </summary>
/// <param name="task">The action to call when idle.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Post(Action task)
{
int id = RegistHandler(() => { task(); return false; });
/// </summary>
/// <param name="task">The action wanted to be called.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void PostAndWakeUp(Action task)
{
if (IsMainThread)
/// </summary>
/// <param name="task">The action wanted to be called.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Send(Action task)
{
int id = RegistHandler(() => { task(); return false; });
/// <param name="handler">The given function.</param>
/// <returns>A timer object handler on success, or null on failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static IntPtr AddTimer(double interval, Func<bool> handler)
{
int id = RegistHandler(handler);
/// </summary>
/// <param name="id">The specified timer handler</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void RemoveTimer(IntPtr id)
{
int taskId = (int)Interop.Ecore.ecore_timer_del(id);
* limitations under the License.
*/
+using System;
using System.Threading;
namespace ElmSharp
/// Provides a synchronization context for the EFL application.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EcoreSynchronizationContext : SynchronizationContext
{
/// <summary>
/// Initializes a new instance of the EcoreSynchronizationContext class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EcoreSynchronizationContext()
{
}
/// </code>
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Initialize()
{
SetSynchronizationContext(new EcoreSynchronizationContext());
/// <param name="state">The object passed to the delegate.</param>
/// <remarks>The Post method starts an asynchronous request to post a message.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void Post(SendOrPostCallback d, object state)
{
EcoreMainloop.PostAndWakeUp(() =>
/// <remarks>
/// The Send method starts a synchronous request to send a message.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void Send(SendOrPostCallback d, object state)
{
EcoreMainloop.Send(() =>
/// EcoreTimelineAnimator is a helper class, which provides the functions to manage animations.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EcoreTimelineAnimator
{
double _runtime;
/// It occurs when the animator is complete.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Finished;
/// <summary>
/// <param name="runtime">The time to run in seconds.</param>
/// <param name="timelineCallback">Functions called at each time line.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EcoreTimelineAnimator(double runtime, Action timelineCallback)
{
_runtime = runtime;
/// Gets whether the animation is running.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsRunning { get; private set; }
/// <summary>
/// Gets the current position of the animation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Position => _position;
/// <summary>
/// Starts an animator that runs for a limited time.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Start()
{
IsRunning = true;
/// Stops an animator that is running.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Stop()
{
IsRunning = false;
/// Suspends the specified animator.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Freeze()
{
Interop.Ecore.ecore_animator_freeze(_animator);
/// Restores execution of the specified animator.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Thaw()
{
Interop.Ecore.ecore_animator_thaw(_animator);
/// Callback is called when it ticks off.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected void OnTimeline()
{
_timelineCallback();
/// The EdjeObject is a class that the evas object exists in.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EdjeObject
{
IntPtr _edjeHandle;
/// <param name="part">The part's name to check for existence in object's group.</param>
/// <returns>TRUE, if the edje part exists in the object's group, otherwise FALSE.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EdjeTextPartObject this[string part]
{
get
/// <param name="emission">The signal's "emission" string</param>
/// <param name="source">The signal's "source" string</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void EmitSignal(string emission, string source)
{
Interop.Elementary.edje_object_signal_emit(_edjeHandle, emission, source);
/// <remarks>Deleting the Color class defined in the theme file.</remarks>
/// <param name="part">The Color class to be deleted.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeleteColorClass(string part)
{
Interop.Elementary.edje_object_color_class_del(_edjeHandle, part);
/// <param name="shadowAlpha">The shadow alpha value.</param>
/// <returns>True if succeeds, otherwise False.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool SetColorClass(string colorClass, int red, int green, int blue, int alpha, int outlineRed, int outlineGreen, int outlineBlue, int outlineAlpha,
- int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha)
+ int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha)
{
return Interop.Elementary.edje_object_color_class_set(_edjeHandle, colorClass, red, green, blue, alpha, outlineRed, outlineGreen, outlineBlue, outlineAlpha,
shadowRed, shadowGreen, shadowBlue, shadowAlpha);
/// <param name="shadowAlpha">The shadow alpha value.</param>
/// <returns>True if succeeds, otherwise False.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool GetColorClass(string colorClass, out int red, out int green, out int blue, out int alpha, out int outlineRed, out int outlineGreen, out int outlineBlue, out int outlineAlpha,
- out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha)
+ out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha)
{
return Interop.Elementary.edje_object_color_class_get(_edjeHandle, colorClass, out red, out green, out blue, out alpha, out outlineRed, out outlineGreen, out outlineBlue, out outlineAlpha,
out shadowRed, out shadowGreen, out shadowBlue, out shadowAlpha);
/// <param name="fontSize">Font size.</param>
/// <returns>True if succeeds, otherwise False.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool SetTextClass(string textClass, string font, int fontSize)
{
return Interop.Elementary.edje_object_text_class_set(_edjeHandle, textClass, font, fontSize);
/// <param name="fontSize">Font size.</param>
/// <returns>True if succeeds, otherwise False.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool GetTextClass(string textClass, out string font, out int fontSize)
{
return Interop.Elementary.edje_object_text_class_get(_edjeHandle, textClass, out font, out fontSize);
/// <param name="source">The signal's "source" string.</param>
/// <param name="action">The action to be executed when the signal is emitted.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddSignalAction(string emission, string source, Action<string, string> action)
{
if (emission != null && source != null && action != null)
/// <param name="source">The signal's "source" string.</param>
/// <param name="action">The action to be executed when the signal is emitted.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeleteSignalAction(string emission, string source, Action<string, string> action)
{
if (emission != null && source != null && action != null)
return Equals(other as SignalData);
}
- public bool Equals(SignalData other) {
+ public bool Equals(SignalData other)
+ {
if (other == null)
{
return false;
/// The EdjeTextPartObject is a class dealing with parts of type text.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EdjeTextPartObject
{
string _part;
/// Gets the name of the EdjeTextPartObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Name { get { return _part; } }
/// <summary>
/// Gets or sets the text for an object part.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text
{
get
/// Sets or gets the style of the object part.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string TextStyle
{
get
/// Gets the geometry of a given edje part, in a given edje object's group definition, relative to the object's area.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Rect Geometry
{
get
/// Gets the native width and height.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size TextBlockNativeSize
{
get
/// Gets the formatted width and height.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size TextBlockFormattedSize
{
get
/// The EffectBase class for TransitEffect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class EffectBase
{
/// <summary>
/// EffectEnded event will be triggered when the effect has ended.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler EffectEnded;
internal abstract IntPtr CreateEffect(IntPtr transit);
/// Focus Autoscroll mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum FocusAutoScrollMode
{
/// <summary>
/// The Elementary is a general elementary, a VERY SIMPLE toolkit.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class Elementary
{
private const string _themeFilePath = "/usr/share/elm-sharp/elm-sharp-theme.edj";
/// EvasObjectRealized will be triggered when the EvasObject is realized.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static event EventHandler EvasObjectRealized;
/// <summary>
/// ItemObjectRealized will be triggered when the ItemObject is realized.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static event EventHandler ItemObjectRealized;
internal static void SendEvasObjectRealized(EvasObject obj)
/// Gets or sets the configured finger size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static int FingerSize
{
get
/// Gets or sets the enable status of the focus highlight animation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool IsFocusHighlightAnimation
{
get
/// This determines the default mirrored mode of widgets.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool IsMirrored
{
get
/// Gets or sets the enable status of the focus highlight.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool CanFocusHighlight
{
get
/// Gets or sets the base scale of the application.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static double AppBaseScale
{
get
/// Gets or sets the global scaling factor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static double Scale
{
get
/// Gets or sets the amount of inertia, a scroller imposes during a region to bring animations.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static double BringInScrollFriction
{
get
/// Gets or sets the focus on autoscroll mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static FocusAutoScrollMode FocusAutoScrollMode
{
get
/// Initializes Elementary.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Initialize()
{
if (!Window.IsPreloaded)
/// Shuts down Elementary.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Shutdown()
{
Interop.Elementary.elm_shutdown();
/// Runs the elementary's main loop.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void Run()
{
Interop.Elementary.elm_run();
/// Prepends a theme overlay to the list of overlays.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static void ThemeOverlay()
{
/// </summary>
/// <param name="filePath">The edje file path to be used.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void AddThemeOverlay(string filePath)
{
Interop.Elementary.elm_theme_overlay_add(IntPtr.Zero, filePath);
/// </summary>
/// <param name="filePath">The name of the theme overlay.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void DeleteThemeOverlay(string filePath)
{
Interop.Elementary.elm_theme_overlay_del(IntPtr.Zero, filePath);
/// Frees a theme.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void FreeTheme()
{
Interop.Elementary.elm_theme_free(IntPtr.Zero);
/// <param name="theme">Theme search string.</param>
/// <remarks>This sets the search string for the theme in path-notation from the first theme to search, to last, delimited by the : character. For example, "shiny:/path/to/file.edj:default".</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void SetTheme(string theme)
{
Interop.Elementary.elm_theme_set(IntPtr.Zero, theme);
/// Flushes the current theme.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void FlushTheme()
{
Interop.Elementary.elm_theme_flush(IntPtr.Zero);
/// This flushes all the themes (default and specific ones).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void FlushAllThemes()
{
Interop.Elementary.elm_theme_full_flush();
/// </summary>
/// <param name="item">The name of the theme extension.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void DeleteThemeExtention(string item)
{
Interop.Elementary.elm_theme_extension_del(IntPtr.Zero, item);
/// Gets the amount of inertia that a scroller imposes during region to bring animations.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static double GetSystemScrollFriction()
{
/// Sets the amount of inertia that a scroller imposes during the region bring animations.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static void SetSystemScrollFriction(double timeSet)
/// Gets the elementary's profile in use.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static string GetProfile()
{
/// Sets the global scaling factor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static void SetScale(double scale)
{
/// Gets the global scaling factor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static double GetScale()
{
/// Frees all data that was in cache and is not currently being used, to reduce memory usage. This frees Edje's, Evas', and Eet's cache.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void FlushAllCache()
{
Interop.Elementary.elm_cache_all_flush();
/// </summary>
/// <param name="language">The language to set must be the full name of the locale.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void SetLanguage(string language)
{
Interop.Elementary.elm_language_set(language);
/// <param name="value">The policy value, which depends on the identifier.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool SetPolicy(uint policy, int value)
{
return Interop.Elementary.elm_policy_set(policy, value);
/// Reloads the elementary's configuration, bounded to the current selected profile.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static void ReloadConfig()
{
/// Flushes all the configuration settings, and then applies those settings to all applications using elementary on the current display.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void FlushAllConfig()
{
Interop.Elementary.elm_config_all_flush();
/// The ElmScrollConfig is a scrollable views's configuration.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class ElmScrollConfig
{
/// <summary>
/// Gets or sets the amount of inertia that a scroller imposes during the region to bring animations.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static double BringInScrollFriction
{
/// Enumeration for describing the InputPanel layout types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputPanelLayout
{
/// <summary>
/// Enumeration for defining the "Return" key types on the input panel (virtual keyboard).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputPanelReturnKeyType
{
/// <summary>
/// Enumeration for defining the autocapitalization types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum AutoCapital
{
/// <summary>
/// Enumeration for defining the entry's copy and paste policy.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum CopyAndPasteMode
{
/// <summary>
/// Enumeration for the text format types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum TextFormat
{
/// <summary>
/// Enumeration that defines the types of Input Hints.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputHints
{
/// <summary>
/// Enumeration for defining the input panel (virtual keyboard) language modes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputPanelLanguage
{
/// <summary>
/// The Entry is a convenience widget that shows a box in which the user can enter text.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Entry : Layout
{
SmartEvent _clicked;
/// </summary>
/// <param name="parent">The EvasObject to which the new Entry will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Entry(EvasObject parent) : base(parent)
{
_clicked = new SmartEvent(this, this.RealHandle, "clicked");
/// Activated will be triggered when the entry is activated.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Activated;
/// <summary>
/// Clicked will be triggered when the entry is clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
/// <summary>
/// ChangedByUser will be triggered when the entry is changed by user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ChangedByUser;
/// <summary>
/// CursorChanged will be triggered when the cursor in the entry is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler CursorChanged;
/// <summary>
/// Sets or gets the entry to the single line mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSingleLine
{
get
/// Sets or gets the entry to the password mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsPassword
{
get
/// Sets or gets whether the entry is editable.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEditable
{
get
/// Sets or gets whether the entry is empty.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEmpty
{
get
/// Sets or gets the text currently shown in the object entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string Text
{
get
/// </summary>
/// <remarks>If there are styles in the user style stack, the properties in the top style of the user style stack will replace the properties in current theme. The input style is specified in the format, tag='property=value' (i.e., DEFAULT='font=Sans font_size=60'hilight=' + font_weight=Bold').</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string TextStyle
{
get
/// Sets or gets the current position of the cursor in the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int CursorPosition
{
get
/// Sets or gets the scrollable state of the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Scrollable
{
get
/// Sets or gets the autocapitalization type on the immodule.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public AutoCapital AutoCapital
{
get
/// Sets or gets the entry object's 'autosave' status.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsAutoSave
{
get
/// Sets or gets the entry text paste/drop mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public CopyAndPasteMode CopyAndPasteMode
{
get
/// Gets the geometry of the cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Rect CursorGeometry
{
get
/// Gets whether a format node exists at the current cursor position.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsCursorFormat
{
get
/// Gets if the current cursor position holds a visible format node.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsCursorVisibelFormat
{
get
/// Sets or gets the value of the input hint.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public InputHints InputHint
{
get
/// Sets or gets the language mode of the input panel.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public InputPanelLanguage InputPanelLanguage
{
get
/// Sets or gets the input panel layout variation of the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int InputPanelVariation
{
get
/// Sets or gets the line wrap type to use on multiline entries.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WrapType LineWrapType
{
get
/// Sets or gets whether the entry should allow to use the text prediction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool PredictionAllowed
{
get
/// Sets or gets whether the return key on the input panel should be disabled or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool InputPanelReturnKeyDisabled
{
get
/// If true, the input panel will be shown only in case of the Mouse up event (Focus event will be ignored).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool InputPanelShowByOnDemand
{
get
/// <param name="file">The path to the file to load and save.</param>
/// <param name="textFormat">The file format.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFile(string file, TextFormat textFormat)
{
Interop.Elementary.elm_entry_file_set(RealHandle, file, (Interop.Elementary.TextFormat)textFormat);
/// <param name="markup">The string (in markup) to be converted.</param>
/// <returns>The converted string (in UTF-8).</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static string ConvertMarkupToUtf8(string markup)
{
return Interop.Elementary.elm_entry_markup_to_utf8(markup);
/// </summary>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool MoveCursorNext()
{
return Interop.Elementary.elm_entry_cursor_next(RealHandle);
/// </summary>
/// <returns>TRUE on success, otherwise FALSE on failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool MoveCursorPrev()
{
return Interop.Elementary.elm_entry_cursor_prev(RealHandle);
/// </summary>
/// <returns>TRUE on success, otherwise FALSE on failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool MoveCursorUp()
{
return Interop.Elementary.elm_entry_cursor_up(RealHandle);
/// </summary>
/// <returns>TRUE on success, otherwise FALSE on failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool MoveCursorDown()
{
return Interop.Elementary.elm_entry_cursor_down(RealHandle);
/// Moves the cursor to the beginning of the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MoveCursorBegin()
{
Interop.Elementary.elm_entry_cursor_begin_set(RealHandle);
/// Moves the cursor to the end of the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MoveCursorEnd()
{
Interop.Elementary.elm_entry_cursor_end_set(RealHandle);
/// Moves the cursor to the beginning of the current line.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MoveCursorLineBegin()
{
Interop.Elementary.elm_entry_cursor_line_begin_set(RealHandle);
/// Moves the cursor to the end of the current line.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MoveCursorLineEnd()
{
Interop.Elementary.elm_entry_cursor_line_end_set(RealHandle);
/// </summary>
/// <param name="layout">The layout type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetInputPanelLayout(InputPanelLayout layout)
{
Interop.Elementary.elm_entry_input_panel_layout_set(RealHandle, (Interop.Elementary.InputPanelLayout)layout);
/// </summary>
/// <param name="enabled">If true, the input panel appears when the entry is clicked or has focus, otherwise false.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetInputPanelEnabled(bool enabled)
{
Interop.Elementary.elm_entry_input_panel_enabled_set(RealHandle, enabled);
/// </summary>
/// <param name="keyType">The type of "return" key on the input panel.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetInputPanelReturnKeyType(InputPanelReturnKeyType keyType)
{
Interop.Elementary.elm_entry_input_panel_return_key_type_set(RealHandle, (Interop.Elementary.ReturnKeyType)keyType);
/// This API can be used in case of manually controlling by using SetInputPanelEnabled(false).
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void HideInputPanel()
{
Interop.Elementary.elm_entry_input_panel_hide(RealHandle);
/// Selects all the text within the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SelectAll()
{
Interop.Elementary.elm_entry_select_all(RealHandle);
/// Drops any existing text selection within the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SelectNone()
{
Interop.Elementary.elm_entry_select_none(RealHandle);
/// Forces calculation of the entry size and text layout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ForceCalculation()
{
Interop.Elementary.elm_entry_calc_force(RealHandle);
/// </summary>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string GetCursorContent()
{
return Interop.Elementary.elm_entry_cursor_content_get(RealHandle);
/// Begins a selection within the entry, as though the user was holding down the mouse button to make a selection.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void BeginCursorSelection()
{
Interop.Elementary.elm_entry_cursor_selection_begin(RealHandle);
/// </summary>
/// <param name="text">The text to be displayed.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AppendText(string text)
{
Interop.Elementary.elm_entry_entry_append(RealHandle, text);
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy
{
get
/// This API will be set if it is enabled for the given axis with boolean parameters for each axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool VerticalBounce
{
get
/// This API will be set if it is enabled for the given axis with boolean parameters for each axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool HorizontalBounce
{
get
/// </summary>
/// <param name="text">The text to be inserted.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void InsertTextToCursor(string text)
{
Interop.Elementary.elm_entry_entry_insert(RealHandle, text);
/// Ends a selection within the entry as though the user had just released the mouse button while making a selection.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void EndCursorSelection()
{
Interop.Elementary.elm_entry_cursor_selection_end(RealHandle);
/// Writes any changes made to the file that is set by a file.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SaveFile()
{
Interop.Elementary.elm_entry_file_save(RealHandle);
/// This API can be used in the case of manual control by using the SetInputPanelEnabled(false).
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ShowInputPanel()
{
Interop.Elementary.elm_entry_input_panel_show(RealHandle);
/// </summary>
/// <param name="func">This function is used to provide items.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AppendItemProvider(Func<string, EvasObject> func)
{
if (func != null)
/// </summary>
/// <param name="func">This function is used to provide items.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PrependItemProvider(Func<string, EvasObject> func)
{
if (!_itemsProvider.ContainsKey(func))
/// </summary>
/// <param name="func">This function is used to provide items.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void RemoveItemProvider(Func<string, EvasObject> func)
{
if (_itemsProvider.ContainsKey(func))
/// </summary>
/// <param name="filter">This function type is used by entry filters to modify text.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AppendMarkUpFilter(Func<Entry, string, string> filter)
{
if (!_textFilters.ContainsKey(filter))
/// </summary>
/// <param name="filter">This function type is used by entry filters to modify text.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PrependMarkUpFilter(Func<Entry, string, string> filter)
{
if (!_textFilters.ContainsKey(filter))
/// </summary>
/// <param name="filter">This function type is used by entry filters to modify text.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void RemoveMarkUpFilter(Func<Entry, string, string> filter)
{
if (_textFilters.ContainsKey(filter))
/// This executes a "copy" action on the selected text in the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void CopySelection()
{
Interop.Elementary.elm_entry_selection_copy(RealHandle);
/// This executes a "cut" action on the selected text in the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void CutSelection()
{
Interop.Elementary.elm_entry_selection_cut(RealHandle);
/// This executes a "paste" action in the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PasteSelection()
{
Interop.Elementary.elm_entry_selection_paste(RealHandle);
/// </summary>
/// <param name="disable">If true, the selection handlers are disabled.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DisableSelection(bool disable)
{
Interop.Elementary.elm_entry_selection_handler_disabled_set(RealHandle, disable);
/// </summary>
/// <returns>Selection's value.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string GetSelection()
{
return Interop.Elementary.elm_entry_selection_get(RealHandle);
/// <param name="start">The start position.</param>
/// <param name="end">The end position.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetSelectionRegion(int start, int end)
{
Interop.Elementary.elm_entry_select_region_set(RealHandle, start, end);
/// </summary>
/// <param name="isDisplay">true if the object should be displayed, otherwise false.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetIconVisible(bool isDisplay)
{
Interop.Elementary.elm_entry_icon_visible_set(RealHandle, isDisplay);
/// </summary>
/// <param name="enable">If enabled is true, the return key is automatically disabled when the entry has no text.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetInputPanelReturnKeyAutoEnable(bool enable)
{
Interop.Elementary.elm_entry_input_panel_return_key_autoenabled_set(RealHandle, enable);
/// <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)
{
return Interop.Elementary.elm_entry_add(parent.Handle);
/// The groups within, present you functions that deal with the canvas directly too, and not yet with its objects. They are the functions you need to use at a minimum to get a working canvas.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EvasCanvas
{
IntPtr _handle = IntPtr.Zero;
/// This function returns the current known canvas unit coordinates of the mouse pointer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point Pointer
{
get
/// This function returns the image cache size of the canvas in bytes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ImageCacheSize
{
get
/// Flushes the image cache of the canvas.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void FlushImageCache()
{
Interop.Evas.evas_image_cache_flush(_handle);
/// <param name="width">The rectangle's width.</param>
/// <param name="height">The rectangle's height.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddDamageRectangle(int x, int y, int width, int height)
{
Interop.Evas.evas_damage_rectangle_add(_handle, x, y, width, height);
/// <param name="width">The rectangle's width.</param>
/// <param name="height">The rectangle's height.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddObscuredRectangle(int x, int y, int width, int height)
{
Interop.Evas.evas_obscured_rectangle_add(_handle, x, y, width, height);
/// Removes all the "obscured regions" from an Evas canvas.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearObscuredRectangle()
{
Interop.Evas.evas_obscured_clear(_handle);
/// <param name="type">The type of event that triggers.</param>
/// <param name="action">The action to be called when the event is triggered.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddEventAction(EvasObjectCallbackType type, Action action)
{
if (action != null)
/// <param name="type">The type of event that triggers.</param>
/// <param name="action">The action to be called when the event is triggered</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeleteEventAction(EvasObjectCallbackType type, Action action)
{
if (action != null)
/// This group provides the functions for image objects.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EvasImage : EvasObject
{
EvasObject _source = null;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by EvasImage as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasImage(EvasObject parent) : base(parent)
{
}
/// Sets or gets the source file from where an image object must fetch the real image data.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string File
{
get
/// Sets or gets the source object to be visible.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSourceVisible
{
get
/// Sets or gets whether an object is clipped by the source object's clipper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSourceClipped
{
get
/// Very useful for frames and decorations.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ImageBorderFillMode BorderCenterFillMode
{
get
/// Sets or gets whether the image object's fill property should track the object's size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFilled
{
get
/// Sets or gets the scaling factor (multiplier) for the borders of the image object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BorderScale
{
get
/// Sets or gets the size of the given image object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size Size
{
get
/// Gets the row stride of the given image object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Stride
{
get
/// Sets or gets whether the alpha channel data is being used on the given image object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpaque
{
get
/// Sets or gets whether to use a high-quality image scaling algorithm on the given image object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSmoothScaled
{
get
/// </summary>
/// <param name="geometry">The rectangle of the given image object that the image will be drawn to.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFill(Rect geometry)
{
Interop.Evas.evas_object_image_fill_set(RealHandle, geometry.X, geometry.Y, geometry.Width, geometry.Height);
/// <param name="file">The image file path.</param>
/// <param name="key">The image key in file (if its an Eet one), otherwise set null.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFile(string file, string key)
{
Interop.Evas.evas_object_image_file_set(RealHandle, file, key);
/// </summary>
/// <param name="stream">memory stream</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetStream(Stream stream)
{
if (stream == null)
/// <param name="source">The proxy (image) object.</param>
/// <returns>true if the source object is set successfully, otherwise false on error.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool SetSource(EvasObject source)
{
bool result = false;
/// </summary>
/// <param name="surface">The surface.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetNativeSurface(IntPtr surface)
{
/// <param name="top">The border's top width.</param>
/// <param name="bottom">The border's bottom width.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetBorder(int left, int right, int top, int bottom)
{
Interop.Evas.evas_object_image_border_set(RealHandle, left, right, top, bottom);
/// <param name="file">The filename to be used to save the image (extension obligatory).</param>
/// <param name="key">The image key in the file (if an Eet one), or null, otherwise.</param>
/// <param name="flags">String containing the flags to be used (null for none).</param>
+ [Obsolete("This has been deprecated in API12")]
public void Save(string file, string key, string flags)
{
Interop.Evas.evas_object_image_save(RealHandle, file, key, flags);
/// <param name="parent">The parent is a given container, which will be attached by the image as a child. It's <see cref="EvasObject"/> type.</param>
/// <returns>The new object, otherwise null if it cannot be created.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return _handle != IntPtr.Zero ? _handle : Interop.Evas.evas_object_image_add(Interop.Evas.evas_object_evas_get(parent.Handle));
/// The EvasKeyEventArgs is a EvasKey EventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EvasKeyEventArgs : EventArgs
{
IntPtr _nativeEventInfo;
/// BackButton name in platform.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public const string PlatformBackButtonName = "XF86Back";
/// <summary>
/// MenuButton name in platform.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public const string PlatformMenuButtonName = "XF86Menu";
/// <summary>
/// HomeButton name in platform.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public const string PlatformHomeButtonName = "XF86Home";
/// <summary>
/// Gets the name of the key.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string KeyName { get; private set; }
/// <summary>
/// Sets or gets the flags.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasEventFlag Flags
{
get
/// <param name="info">The information.</param>
/// <returns>EvasKey eventArgs.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
static public EvasKeyEventArgs Create(IntPtr data, IntPtr obj, IntPtr info)
{
return new EvasKeyEventArgs(info);
/// <summary>
/// Event structure for Key Down event callbacks.
/// </summary>
- [NativeStruct("Evas_Event_Key_Down", Include="Elementary.h", PkgConfig="elementary")]
+ [NativeStruct("Evas_Event_Key_Down", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
struct EvasEventKeyDown
{
/// Flags for the events.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum EvasEventFlag
{
/// The EvasMap is an opaque handle to map points.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EvasMap
{
IntPtr _evasMap;
/// </summary>
/// <param name="count">The number of points in the map</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasMap(int count)
{
_evasMap = Interop.Evas.evas_map_new(count);
/// Gets or sets the flag of the object to move synchronization for map rendering.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsMoveSync
{
get
/// </summary>
/// <param name="obj">The object to use unmapped geometry to populate the map coordinates.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PopulatePoints(EvasObject obj)
{
Interop.Evas.evas_map_util_points_populate_from_object_full(_evasMap, obj, 0);
/// The point Z-coordinate hint (pre-perspective transform). This value is used for all the four points.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PopulatePoints(EvasObject obj, int z)
{
Interop.Evas.evas_map_util_points_populate_from_object_full(_evasMap, obj, z);
/// <param name="geometry">The geometry value contains X-coordinate, Y-coordinate, the width and height to use, to calculate the second and third points.</param>
/// <param name="z">The Z-coordinate hint (pre-perspective transform) This value is used for all the four points.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PopulatePoints(Rect geometry, int z)
{
Interop.Evas.evas_map_util_points_populate_from_geometry(_evasMap, geometry.X, geometry.Y, geometry.Width, geometry.Height, z);
/// <param name="cx">The rotation's center horizontal position.</param>
/// <param name="cy">The rotation's center vertical position.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Rotate(double degrees, int cx, int cy)
{
Interop.Evas.evas_map_util_rotate(_evasMap, degrees, cx, cy);
/// <param name="cy">The rotation's center vertical position.</param>
/// <param name="cz">The rotation's center depth position.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Rotate3D(double dx, double dy, double dz, int cx, int cy, int cz)
{
Interop.Evas.evas_map_util_3d_rotate(_evasMap, dx, dy, dz, cx, cy, cz);
/// <param name="idx">The index of point to change, this must be smaller than the map size.</param>
/// <param name="point">The 3D point coordinate.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPointCoordinate(int idx, Point3D point)
{
Interop.Evas.evas_map_point_coord_set(_evasMap, idx, point.X, point.Y, point.Z);
/// <param name="idx">The index of point to change, this must be smaller than the map size.</param>
/// <returns>The coordinates of a given point in the map.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point3D GetPointCoordinate(int idx)
{
Point3D point;
/// <param name="cx">The zooming center horizontal position.</param>
/// <param name="cy">The zooming center vertical position.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Zoom(double x, double y, int cx, int cy)
{
Interop.Evas.evas_map_util_zoom(_evasMap, x, y, cx, cy);
/// Enumeration for the Tooltip orientation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum TooltipOrientation
{
/// <summary>
/// Enumeration for the aspect control.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum AspectControl
{
/// <summary>
/// How the object should be rendered to output.
/// </summary>
/// <since_tizen> 5 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum RenderOp
{
/// <summary>
/// The EvasObject is a base class for other widget classes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class EvasObject
{
private IntPtr _realHandle = IntPtr.Zero;
/// Sets or gets the handle for EvasObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IntPtr Handle { get; protected set; }
/// <summary>
/// Gets the parent object for EvasObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject Parent { get; private set; }
/// <summary>
/// Sets or gets the real handle for EvasObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IntPtr RealHandle
{
get
/// </summary>
/// <param name="parent">Parent EvasObject class.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected EvasObject(EvasObject parent) : this()
{
Debug.Assert(parent == null || parent.IsRealized);
/// Creates and initializes a new instance of the EvasObject class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected EvasObject()
{
_backButtonHandler = new Interop.Eext.EextEventCallback((d, o, i) => { _backButtonPressed?.Invoke(this, EventArgs.Empty); });
/// Deleted will be triggered when the widght is deleted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Deleted;
/// <summary>
/// KeyUp will be triggered when the key is loose.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<EvasKeyEventArgs> KeyUp
{
add { _keyup.On += value; }
/// KeyDown will be triggered when the key is pressed down.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<EvasKeyEventArgs> KeyDown
{
add { _keydown.On += value; }
/// BackButtonPressed will be triggered when the Back button is pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler BackButtonPressed
{
add
/// MoreButtonPressed will be triggered when the More button is pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler MoreButtonPressed
{
add
/// Moved will be triggered when the widght is moved.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Moved
{
add { _moved.On += value; }
/// Resized Event Handler of the current widget's size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Resized
{
add { _resized.On += value; }
/// Shown will be triggered when the widget is shown.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Shown
{
add { _shown.On += value; }
remove { _shown.On -= value; }
}
-
+
/// <summary>
/// Hidden will be triggered when the widget is hidden.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Hidden
{
add { _hidden.On += value; }
/// RenderPost Event Handler of the current widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler RenderPost
{
add
/// </summary>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate EvasObject GetTooltipContentDelegate();
/// <summary>
/// Gets a widget's status of realized or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsRealized { get { return Handle != IntPtr.Zero; } }
/// <summary>
/// Gets EvasCanvas.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasCanvas EvasCanvas
{
get
/// Sets of gets a value that allow the automation framework to find and interact with this object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string AutomationId
{
get
/// Gets the current class's Name.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string ClassName
{
get
/// Sets or gets the horizontal pointer hints for an object's weight.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double WeightX
{
get
/// Sets or gets the vertical pointer hints for an object's weight.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double WeightY
{
get
/// Sets or gets the horizontal alignment hint of an object's alignment.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual double AlignmentX
{
get
/// Sets or gets the vertical alignment hint of an object's alignment.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual double AlignmentY
{
get
/// Sets or gets the width hints for an object's minimum size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MinimumWidth
{
get
/// Sets or gets the height hints for an object's minimum size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MinimumHeight
{
get
/// Gets the visible state of the given Evas object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsVisible
{
get
/// Sets or gets the position and (rectangular) size of the given Evas object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Rect Geometry
{
get
/// Sets or gets the general or main color of the given Evas object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual Color Color
{
get
/// Sets or gets the map enabled state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsMapEnabled
{
get
/// Sets or gets the current object's transformation map.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasMap EvasMap
{
get
/// Sets or gets whether an object is to repeat events.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool RepeatEvents
{
get
/// Sets or gets whether events on a smart object's member should get propagated up to its parent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool PropagateEvents
{
get
/// Sets or gets whether an object is set to pass (ignore) events.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool PassEvents
{
get
/// Sets or gets the style for this object tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string TooltipStyle
{
get
/// Sets or gets the orientation of tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public TooltipOrientation TooltipOrientation
{
get
/// Sets or gets size restriction state of an object's tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool TooltipWindowMode
{
get
/// Sets the content to be shown in the tooltip object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GetTooltipContentDelegate TooltipContentDelegate
{
get
/// This gets the movement freeze count by one.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int TooltipMoveFreezeCount
{
get
/// Sets or gets whether an Evas object is to freeze (discard) events.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AllEventsFrozen
{
get
/// Sets or gets the layer of its canvas that the given object will be part of.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual int Layer
{
get
/// Sets or gets the render operation to be used for rendering the Evas object.
/// </summary>
/// <since_tizen> 5 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public RenderOp RenderOperation
{
get
/// </summary>
/// <param name="clip">The object to clip object by.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetClip(EvasObject clip)
{
Interop.Evas.evas_object_clip_set(Handle, clip);
/// <param name="x">The horizontal alignment hint as double value ranging from 0.0 to 1.0. The default alignment hint value is 0.5.</param>
/// <param name="y">The vertical alignment hint as double value ranging from 0.0 to 1.0. The default alignment hint value is 0.5.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetAlignment(double x, double y)
{
Interop.Evas.evas_object_size_hint_align_set(Handle, x, y);
/// <param name="x">The non-negative double value to be used as horizontal weight hint.</param>
/// <param name="y">The non-negative double value to be used as vertical weight hint.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetWeight(double x, double y)
{
Interop.Evas.evas_object_size_hint_weight_set(Handle, x, y);
/// </summary>
/// <param name="text">The text value to display inside the tooltip.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetTooltipText(string text)
{
Interop.Elementary.elm_object_tooltip_text_set(RealHandle, text);
/// Unsets an object's tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UnsetTooltip()
{
Interop.Elementary.elm_object_tooltip_unset(RealHandle);
/// If the count is more than 0, the tooltip position will be fixed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PushTooltipMoveFreeze()
{
Interop.Elementary.elm_object_tooltip_move_freeze_push(RealHandle);
/// This decrements the tooltip freeze count by one.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PopTooltipMoveFreeze()
{
Interop.Elementary.elm_object_tooltip_move_freeze_pop(RealHandle);
/// Force hide the tooltip of the object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void HideTooltip()
{
Interop.Elementary.elm_object_tooltip_hide(RealHandle);
/// Force show the tooltip of the object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ShowTooltip()
{
Interop.Elementary.elm_object_tooltip_show(RealHandle);
/// Makes the current object visible.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Show()
{
Interop.Evas.evas_object_show(Handle);
/// Makes the current object invisible.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Hide()
{
Interop.Evas.evas_object_hide(Handle);
/// <param name="w">The new width.</param>
/// <param name="h">The new height.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Resize(int w, int h)
{
Interop.Evas.evas_object_resize(Handle, w, h);
/// <param name="x">The X position to move the object.</param>
/// <param name="y">The Y position to move the object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Move(int x, int y)
{
Interop.Evas.evas_object_move(Handle, x, y);
/// Lowers the object to the bottom of its layer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Lower()
{
Interop.Evas.evas_object_lower(Handle);
/// </summary>
/// <param name="obj">Parent object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static implicit operator IntPtr(EvasObject obj)
{
if (obj == null)
return obj.Handle;
}
- /// <summary>
+ /// <summary>
/// Define cast to EvasObject operator from IntPtr
/// </summary>
/// <param name="handle">Native handle to EvasObject</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static explicit operator EvasObject(IntPtr handle) => EvasObject.s_handleTable.TryGetValue(handle, out EvasObject obj) ? obj : null;
/// <summary>
/// <param name="exclusive">Set TRUE to request that the obj is the only object receiving the keyname events, otherwise set to FALSE.</param>
/// <returns>If the call succeeds then true, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool KeyGrab(string keyname, bool exclusive)
{
return Interop.Evas.evas_object_key_grab(Handle, keyname, 0, 0, exclusive);
/// </summary>
/// <param name="keyname">The key the grab is set for.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void KeyUngrab(string keyname)
{
Interop.Evas.evas_object_key_ungrab(Handle, keyname, 0, 0);
/// Marks the smart object as changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MarkChanged()
{
Interop.Evas.evas_object_smart_changed(RealHandle);
/// This will force immediate calculations needed for renderization of this object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Calculate()
{
Interop.Evas.evas_object_smart_calculate(RealHandle);
/// <param name="w">The integer to be used as aspect width ratio term.</param>
/// <param name="h">The integer to be used as aspect height ratio term.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetSizeHintAspect(AspectControl aspect, int w, int h)
{
Interop.Evas.evas_object_size_hint_aspect_set(Handle, (int)aspect, w, h);
/// <param name="w">The integer to be used as aspect width ratio term.</param>
/// <param name="h">The integer to be used as aspect height ratio term.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void GetSizeHintAspect(out AspectControl aspect, out int w, out int h)
{
int aspectRatio;
/// </summary>
/// <param name="anchor">The object below which to stack.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void StackBelow(EvasObject anchor)
{
Interop.Evas.evas_object_stack_below(Handle, anchor);
/// </summary>
/// <param name="anchor">The object above which to stack.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void StackAbove(EvasObject anchor)
{
Interop.Evas.evas_object_stack_above(Handle, anchor);
/// Raises to the top of its layer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void RaiseTop()
{
Interop.Evas.evas_object_raise(Handle);
/// The callback of the Invalidate Event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnInvalidate()
{
}
/// The callback of the Instantiated Event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnInstantiated()
{
}
/// The callback of the Realized Event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnRealized()
{
}
/// The callback of the Unrealize Event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnUnrealize()
{
}
/// <param name="parent">Parent EvasObject.</param>
/// <returns>Handle IntPtr.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected abstract IntPtr CreateHandle(EvasObject parent);
/// <summary>
/// </summary>
/// <param name="parent">Parent object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Realize(EvasObject parent)
{
if (!IsRealized)
/// Removes the current object relationship with others.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Unrealize()
{
if (IsRealized)
/// Inherits IDisposable.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public interface IInvalidatable : IDisposable
{
/// <summary>
/// Makes the current instance invalidate.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
void MakeInvalidate();
}
/// Enumeration for EvasObjectCallbackType.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum EvasObjectCallbackType
{
/// <summary>
/// </summary>
/// <typeparam name="TEventArgs">Kinds of EventArgs.</typeparam>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EvasObjectEvent<TEventArgs> : IInvalidatable where TEventArgs : EventArgs
{
/// <summary>
/// <param name="info">info</param>
/// <returns>Delegate handle.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate TEventArgs SmartEventInfoParser(IntPtr data, IntPtr obj, IntPtr info);
private bool _disposed = false;
/// <param name="type">EvasObjectCallbackType</param>
/// <param name="parser">SmartEventInfoParser</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type, SmartEventInfoParser parser) : this(sender, sender.Handle, type, parser)
{
}
/// <param name="type">EvasObjectCallbackType</param>
/// <param name="parser">SmartEventInfoParser</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public EvasObjectEvent(EvasObject sender, IntPtr handle, EvasObjectCallbackType type, SmartEventInfoParser parser)
{
/// <param name="sender">EvasObject class belongs to.</param>
/// <param name="type">SmartEventInfoParser</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type) : this(sender, type, null)
{
}
/// On Event Handler of the EvasObjectEvent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<TEventArgs> On
{
add
/// otherwise, false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// Makes the current instance invalidate.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MakeInvalidate()
{
_sender = null;
/// Event class for EvasObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class EvasObjectEvent : IInvalidatable
{
private EvasObjectEvent<EventArgs> _evasObjectEvent;
/// <param name="sender">EvasObject class belongs to.</param>
/// <param name="type">EvasObjectCallbackType</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObjectEvent(EvasObject sender, EvasObjectCallbackType type) : this(sender, sender.Handle, type)
{
}
/// <param name="handle">EvasObject handle.</param>
/// <param name="type">EvasObjectCallbackType</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public EvasObjectEvent(EvasObject sender, IntPtr handle, EvasObjectCallbackType type)
{
/// On Event Handler of EvasObjectEvent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler On
{
add
/// otherwise, false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// Makes the current instance invalidate.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MakeInvalidate()
{
_evasObjectEvent.MakeInvalidate();
/// The FlipSelector is a widget to show a set of text items, one at a time, with the same sheet switching style as the clock widget when one changes the current displaying sheet.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FlipSelector : Layout
{
SmartEvent _selected;
/// </summary>
/// <param name="parent">Parent EvasObject.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelector(EvasObject parent) : base(parent)
{
_selected = new SmartEvent(this, Handle, "selected");
/// Selected will be triggered when selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
/// <summary>
/// Overflowed will be triggered when overflowed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Overflowed;
/// <summary>
/// Underflowed will be triggered when underflowed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Underflowed;
/// <summary>
/// Sets or gets the interval on time updates for a user mouse button to hold on the flip selector widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Interval
{
get
/// Gets the currently selected item in the flip selector widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem SelectedItem
{
get
/// Gets the first item in the given flip selector widget's list of items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem FirstItem
{
get
/// Gets the last item in the given flip selector widget's list of items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem LastItem
{
get
/// The widget's list of labels to show will be appended with the given value. If the user wishes so, a callback function pointer can be passed, which will get called when the same item is selected.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem Append(string text)
{
FlipSelectorItem item = new FlipSelectorItem(text, this);
/// The widget's list of labels to show will be prepended with the given value. If the user wishes so, a callback function pointer can be passed, which will get called when the same item is selected.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem Prepend(string text)
{
FlipSelectorItem item = new FlipSelectorItem(text, this);
/// </summary>
/// <param name="item">FlipSelector's item.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Remove(FlipSelectorItem item)
{
if (item != null)
/// The selection will be animated. Also, if it reaches the beginning of its list of member items, it will continue with the last one backwards.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Next()
{
Interop.Elementary.elm_flipselector_flip_next(Handle);
/// Programmatically select the previous item of the flip selector widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Prev()
{
Interop.Elementary.elm_flipselector_flip_prev(Handle);
/// <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)
{
return Interop.Elementary.elm_flipselector_add(parent.Handle);
/// The item class of FlipSelector.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FlipSelectorItem : ItemObject
{
/// <summary>
/// Sets or gets the text of the FlipSelectorItem.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text { get; private set; }
/// <summary>
/// Selected will be triggered when selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
/// <summary>
/// </summary>
/// <param name="text">FlipSelectorItem's text</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem(string text) : base(IntPtr.Zero)
{
Text = text;
/// <param name="text">FlipSelectorItem's text</param>
/// <param name="parent">Parent EvasObject</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipSelectorItem(string text, EvasObject parent) : base(IntPtr.Zero, parent)
{
Text = text;
/// The FloatingButton is a widget to add the floating area for buttons.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FloatingButton : Layout
{
/// <summary>
/// </summary>
/// <param name="parent">Created on this parent container.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FloatingButton(EvasObject parent) : base(parent)
{
}
/// Sets or gets the floatingbutton mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FloatingButtonMode Mode
{
get
/// Gets the floatingbutton position.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FloatingButtonPosition Position
{
get
/// Sets or gets the movability for a given FloatingButton widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool MovementBlock
{
get
/// Gets the opacity's value of the given FloatingButton.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int Opacity
{
get
/// <param name="position">Button position.</param>
/// <param name="animated">Animation flag.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPosition(FloatingButtonPosition position, bool animated)
{
if (animated)
/// <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)
{
return Interop.Eext.eext_floatingbutton_add(parent.Handle);
/// Enumeration for the FloatingButtonMode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum FloatingButtonMode
{
/// <summary>
/// Enumeration for the FloatingButtonPosition.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum FloatingButtonPosition
{
/// <summary>
/// All events of the GenGrid contain GenGridItemEventArgs as a parameter.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenGridItemEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the gengrid item. The return type is <see cref="GenGridItem"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem Item { get; set; }
internal static GenGridItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info)
/// The gengrid items are represented through the <see cref="GenItemClass"/> definition field details.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenGrid : Layout
{
HashSet<GenGridItem> _children = new HashSet<GenGridItem>();
/// </summary>
/// <param name="parent">The parent is a given container which will be attached by GenGrid as a child. It's the <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGrid(EvasObject parent) : base(parent)
{
InitializeSmartEvent();
/// ItemSelected is raised when a new GenGrid item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemSelected;
/// <summary>
/// ItemUnselected is raised when the gengrid item is unselected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemUnselected;
/// <summary>
/// ItemPressed is raised when a new gengrid item is pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemPressed;
/// <summary>
/// ItemReleased is raised when a new gengrid item is released.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemReleased;
/// <summary>
/// ItemActivated is raised when a new gengrid item is double-clicked or pressed (enter|return|spacebar).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemActivated;
/// <summary>
/// ItemDoubleClicked is raised when a new gengrid item is double-clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemDoubleClicked;
/// <summary>
/// ItemRealized is raised when a gengrid item is implemented through <see cref="GenItemClass"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemRealized;
/// <summary>
/// ItemUnrealized is raised when the gengrid item is deleted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemUnrealized;
/// <summary>
/// ItemLongPressed is raised when a gengrid item is pressed for a certain amount of time. By default it's 1 second.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemLongPressed;
/// <summary>
/// ItemFocussed is raised when a gengrid item has received focus.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemFocused;
/// <summary>
/// ItemUnfocussed is raised when a gengrid item has lost focus.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenGridItemEventArgs> ItemUnfocused;
/// <summary>
/// Changed is raised when an item is added, removed, resized or moved and when the gengrid is resized or gets "horizontal" property changes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Changed;
/// <summary>
/// By default, value is 0.0, meaning that the gengrid has its items grid placed exactly in the left along X-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double ItemAlignmentX
{
get
/// By default, value is 0.0, meaning that the gengrid has its items grid placed exactly in the top along Y-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double ItemAlignmentY
{
get
/// It is filled if true, otherwise not filled if false.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FillItems
{
get
/// By default, multi-selection is disabled.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool MultipleSelection
{
get
/// Use this property to force a custom width for your items, making them as big as you wish.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ItemWidth
{
get
/// Use this property to force a custom height for your items, making them as big as you wish.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ItemHeight
{
get
/// Gets or sets the gengrid select mode by <see cref="GenItemSelectionMode"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenItemSelectionMode SelectionMode
{
get
/// If false, items are placed in rows from left to right, and when the space for a row is filled, another one is started below, thus expanding the grid vertically.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Gets or sets whether the gengrid items should be highlighted when an item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHighlight
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy
{
get
/// Gets the first item in a given GenGrid widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem FirstItem
{
get
/// Gets the last item in a given GenGrid widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem LastItem
{
get
/// Gets the items count in a given GenGrid widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public uint ItemCount
{
get
/// Gets the selected item in a given GenGrid widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem SelectedItem
{
get
/// Gets or sets whether a given GenGrid widget is able to or not able to have items reordered.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ReorderMode
{
get
/// <seealso cref="GenItemClass"/>
/// <seealso cref="GenGridItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem Append(GenItemClass itemClass, object data)
{
GenGridItem item = new GenGridItem(data, itemClass, this);
/// <seealso cref="GenItemClass"/>
/// <seealso cref="GenGridItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem Prepend(GenItemClass itemClass, object data)
{
GenGridItem item = new GenGridItem(data, itemClass, this);
/// <seealso cref="GenItemClass"/>
/// <seealso cref="GenGridItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem InsertBefore(GenItemClass itemClass, object data, GenGridItem before)
{
GenGridItem item = new GenGridItem(data, itemClass, this);
/// <seealso cref="GenItemClass"/>
/// <seealso cref="GenGridItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem InsertAfter(GenItemClass itemClass, object data, GenGridItem after)
{
GenGridItem item = new GenGridItem(data, itemClass, this);
/// <param name="comparison">User defined comparison function that defines the sort order based on the gengrid item and its data.</param>
/// <returns>Return a gengrid item that contains the data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem InsertSorted(GenItemClass itemClass, object data, Comparison<object> comparison)
{
GenGridItem item = new GenGridItem(data, itemClass, this);
/// </remarks>
/// <seealso cref="ScrollToPosition"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ScrollTo(GenGridItem item, ScrollToPosition position, bool animated)
{
if (animated)
/// <see cref="GenItem.Update()"/> to update just one item.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UpdateRealizedItems()
{
Interop.Elementary.elm_gengrid_realized_items_update(RealHandle);
/// <see cref="ItemObject.Delete()"/> to delete just one item.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_gengrid_clear(RealHandle);
/// </param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItem GetItemByPosition(int x, int y, out int portionX, out int portionY)
{
IntPtr handle = Interop.Elementary.elm_gengrid_at_xy_item_get(RealHandle, x, y, out portionX, out portionY);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// It contains the Update() method to update a gengrid item which is given.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenGridItem : GenItem
{
internal GenGridItem(object data, GenItemClass itemClass) : base(data, itemClass)
/// If false, it is unselected.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool IsSelected
{
get
/// Sets or gets the cursor to be shown when the mouse is over the gengrid item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string Cursor
{
/// Sets or gets the style for this item cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string CursorStyle
{
/// Sets or gets the cursor engine only usage for this item cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool IsUseEngineCursor
{
/// Sets or gets, or sets the style of the given gengrid item's tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string TooltipStyle
{
get
/// Gets the gengrid item's select mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override GenItemSelectionMode SelectionMode
{
get
/// Gets or sets the gengrid item's row position, relative to the whole gengrid's grid area.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Row
{
get
/// Gets or sets the gengrid item's column position, relative to the whole gengrid's grid area.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Column
{
get
/// </summary>
/// <param name="tooltip">The text to set.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void SetTooltipText(string tooltip)
{
Interop.Elementary.elm_gengrid_item_tooltip_text_set(Handle, tooltip);
/// Unsets the tooltip from item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void UnsetTooltip()
{
Interop.Elementary.elm_gengrid_item_tooltip_unset(Handle);
/// <see cref="GenGrid.UpdateRealizedItems"/> to update the contents of all the realized items.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void Update()
{
Interop.Elementary.elm_gengrid_item_update(Handle);
/// Sets the content to be shown in the tooltip item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void UpdateTooltipDelegate()
{
Interop.Elementary.elm_gengrid_item_tooltip_content_cb_set(Handle,
/// Enumeration for the selection modes of GenItem.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum GenItemSelectionMode
{
/// <summary>
/// It contains the GenItem class and data to display the data.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class GenItem : ItemObject
{
internal Interop.Elementary.Elm_Tooltip_Item_Content_Cb _tooltipCb;
/// The delegate returning the tooltip contents.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate EvasObject GetTooltipContentDelegate();
internal GenItem(object data, GenItemClass itemClass) : base(IntPtr.Zero)
/// Gets the item class that defines how to display data. It returns <see cref="GenItemClass"/> type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenItemClass ItemClass { get; protected set; }
/// <summary>
/// Sets or gets the tooltip content delegate.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GetTooltipContentDelegate TooltipContentDelegate
{
get
/// It's an abstract property.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract GenItemSelectionMode SelectionMode { get; set; }
/// <summary>
/// Sets or gets the cursor to be shown when the mouse is over the gengrid item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract string Cursor { get; set; }
/// <summary>
/// Sets or gets the style for this item cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract string CursorStyle { get; set; }
/// <summary>
/// Sets or gets the cursor engine only usage for this item cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract bool IsUseEngineCursor { get; set; }
/// <summary>
/// Gets the item data that is added through calling <see cref="GenGrid.Append(GenItemClass, object)"/>, <see cref="GenGrid.Prepend(GenItemClass, object)"/>, or <see cref="GenGrid.InsertBefore(GenItemClass, object, GenGridItem)"/> methods.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public object Data { get; protected set; }
/// <summary>
/// It's an abstract property. It's implemented by <see cref="GenGridItem.IsSelected"/> and <see cref="GenListItem.IsSelected"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract bool IsSelected { get; set; }
/// <summary>
/// It's an abstract property. It's implemented by <see cref="GenGridItem.TooltipStyle"/> and <see cref="GenListItem.TooltipStyle"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract string TooltipStyle { get; set; }
/// <summary>
/// </summary>
/// <param name="tooltip">The text to set.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract void SetTooltipText(string tooltip);
/// <summary>
/// Unsets the tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract void UnsetTooltip();
/// <summary>
/// It's an abstract method. It's implemented by <see cref="GenGridItem.Update"/> and <see cref="GenListItem.Update"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract void Update();
/// <summary>
/// The override method for deleting the item class and item data. It's called when the item is deleted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnInvalidate()
{
ItemClass?.SendItemDeleted(Data);
/// Abstract method for updating the tooltip content.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected abstract void UpdateTooltipDelegate();
}
}
\ No newline at end of file
/// It has some display styles, such as "default", "full", and "group_index".
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenItemClass : IDisposable
{
static Dictionary<IntPtr, EvasObject> s_HandleToEvasObject = new Dictionary<IntPtr, EvasObject>();
/// <param name="part">The part where the data should be shown.</param>
/// <returns>Return string that should be shown.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate string GetTextDelegate(object data, string part);
/// <summary>
/// <param name="part">The part where the data should be shown.</param>
/// <returns>Return content that should be shown.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate EvasObject GetContentDelegate(object data, string part);
/// <summary>
/// </summary>
/// <param name="data">The item data.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate void DeleteDelegate(object data);
/// <summary>
/// <param name="old">The content that has been added in gengrid.</param>
/// <returns>Return content that should be shown.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate EvasObject GetReusableContentDelegate(object data, string part, EvasObject old);
ItemClass _itemClass;
/// </summary>
/// <param name="style">The item display style.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenItemClass(string style)
{
_style = style;
/// Gets the item style.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string ItemStyle { get { return _style; } }
/// <summary>
/// If get, return <see cref="GetTextDelegate"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GetTextDelegate GetTextHandler { get; set; }
/// <summary>
/// If get, return <see cref="GetContentDelegate"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GetContentDelegate GetContentHandler { get; set; }
/// <summary>
/// If get, return <see cref="DeleteDelegate"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DeleteDelegate DeleteHandler { get; set; }
/// <summary>
/// If get, return <see cref="GetReusableContentDelegate"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GetReusableContentDelegate ReusableContentHandler { get; set; }
internal IntPtr UnmanagedPtr
/// otherwise false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (_unmanagedPtr != IntPtr.Zero)
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// </summary>
/// <returns>The new item class object.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual IntPtr CreateItemClass()
{
return Interop.Elementary.elm_genlist_item_class_new();
/// </summary>
/// <param name="unmanagedPtr">The object to be removed.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void ReleaseItemClass(IntPtr unmanagedPtr)
{
Interop.Elementary.elm_genlist_item_class_free(unmanagedPtr);
void EvasObjectDeleted(object sender, EventArgs e)
{
- if(sender is EvasObject evasObject)
+ if (sender is EvasObject evasObject)
s_HandleToEvasObject.Remove(evasObject);
}
/// It represents the gengrid item class definition field details.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenGridItemClass : GenItemClass
{
/// <summary>
/// </summary>
/// <param name="style">The item display style.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenGridItemClass(string style) : base(style)
{
}
/// </summary>
/// <returns>The new instance.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateItemClass()
{
return Interop.Elementary.elm_gengrid_item_class_new();
/// </summary>
/// <param name="unmanagedPtr">The object to be removed.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void ReleaseItemClass(IntPtr unmanagedPtr)
{
Interop.Elementary.elm_gengrid_item_class_free(unmanagedPtr);
}
}
- [NativeStruct("Elm_Gen_Item_Class", Include="Elementary.h", PkgConfig="elementary")]
+ [NativeStruct("Elm_Gen_Item_Class", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
internal class ItemClass
{
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate string GetTextCallback(IntPtr data, IntPtr obj, IntPtr part);
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate IntPtr GetContentCallback(IntPtr data, IntPtr obj, IntPtr part);
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate int GetStateCallback(IntPtr data, IntPtr obj, IntPtr part);
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate void DelCallback(IntPtr data, IntPtr obj);
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate int FilterCallback(IntPtr data, IntPtr obj, IntPtr key);
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate IntPtr GetReusableContentCallback(IntPtr data, IntPtr obj, IntPtr part, IntPtr old);
public int version;
/// Enumeration for setting the genlist item types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum GenListItemType
{
/// <summary>
/// Enumeration for setting the genlist's resizing behavior, transverse axis scrolling, and items cropping.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum GenListMode
{
/// <summary>
/// All events of the GenList contain GenListItemEventArgs as a parameter.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenListItemEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the genlist item. The return type is <see cref="GenListItem"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Item { get; set; }
internal static GenListItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info)
/// Enumeration for defining where to position the item in the genlist.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ScrollToPosition
{
/// <summary>
/// If all you want is a simple list with icons and a single text, use <see cref="List"/> widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenList : Layout
{
HashSet<GenListItem> _children = new HashSet<GenListItem>();
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by GenList as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenList(EvasObject parent) : base(parent)
{
}
/// Creates and initializes a new instance of the GenList class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected GenList()
{
}
/// If true, the genlist items will have the same height and width.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Homogeneous
{
get
/// If so, then some dynamic resizable objects in the genlist would not be diplayed properly.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListMode ListMode
{
get
/// Gets the first item in the genlist.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem FirstItem
{
get
/// Gets the last item in the genlist.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem LastItem
{
get
/// You can move the item up and down. However, reordering does not work with group items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ReorderMode
{
get
/// Gets or sets the maximum number of items within an item block.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int BlockCount
{
get
/// Gets or sets whether the genlist items should be highlighted when an item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHighlight
{
get
/// Gets or sets the timeout in seconds for the longpress event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double LongPressTimeout
{
get
/// Clicking on a focusable widget inside an item will couse this particular item to get focus as usual.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FocusOnSelection
{
get
/// Gets or sets whether to enable multi-selection in the genlist.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsMultiSelection
{
get
/// Gets the selected item in a given GenList widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem SelectedItem
{
get
/// Gets or sets the genlist select mode by <see cref="GenItemSelectionMode"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenItemSelectionMode SelectionMode
{
get
/// Gets the count of items in a this genlist widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Count
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy
{
get
/// ItemSelected is raised when a new genlist item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemSelected;
/// <summary>
/// ItemUnselected is raised when the genlist item is unselected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemUnselected;
/// <summary>
/// ItemPressed is raised when a new genlist item is pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemPressed;
/// <summary>
/// ItemReleased is raised when a new genlist item is released.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemReleased;
/// <summary>
/// ItemActivated is raised when a new genlist item is double-clicked or pressed (enter|return|spacebar).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemActivated;
/// <summary>
/// ItemDoubleClicked is raised when a new genlist item is double-clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemDoubleClicked;
/// <summary>
/// ItemExpanded is raised when a new genlist item is indicated to expand.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemExpanded;
/// <summary>
/// ItemRealized is raised when a new genlist item is created as a real object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemRealized;
/// <summary>
/// After calling unrealize, the item's content objects are deleted, and the item object itself is deleted or is put into a floating cache.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemUnrealized;
/// <summary>
/// ItemLongPressed is raised when a genlist item is pressed for a certain amount of time. By default, it's 1 second.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemLongPressed;
/// <summary>
/// ItemMoved is raised when a genlist item is moved in the reorder mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemMoved;
/// <summary>
/// To get the relative previous item, use <see cref="GenListItem.Previous"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemMovedAfter;
/// <summary>
/// To get the relative next item, use <see cref="GenListItem.Next"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<GenListItemEventArgs> ItemMovedBefore;
/// <summary>
/// Changed is raised when the genlist has changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Changed
{
add { _changed.On += value; }
/// ScrollAnimationStarted is raised when the scrolling animation has started.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ScrollAnimationStarted
{
add { _scrollAnimationStarted.On += value; }
/// ScrollAnimationStopped is raised when the scrolling animation has stopped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ScrollAnimationStopped
{
add { _scrollAnimationStopped.On += value; }
/// <seealso cref="GenItemClass"/>
/// <seealso cref="GenListItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Append(GenItemClass itemClass, object data)
{
return Append(itemClass, data, GenListItemType.Normal);
/// <param name="type">The genlist item type.</param>
/// <returns>Return a newly added genlist item that contains the data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Append(GenItemClass itemClass, object data, GenListItemType type)
{
return Append(itemClass, data, type, null);
/// <param name="parent">The parent item, otherwise null if there is no parent item.</param>
/// <returns>Return a newly added genlist item that contains the data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Append(GenItemClass itemClass, object data, GenListItemType type, GenListItem parent)
{
GenListItem item = new GenListItem(data, itemClass, this);
/// <param name="data">The item data.</param>
/// <returns>Return a newly added genlist item that contains data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Prepend(GenItemClass itemClass, object data)
{
return Prepend(itemClass, data, GenListItemType.Normal);
/// <param name="type">The genlist item type.</param>
/// <returns>Return a newly added genlist item that contains data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Prepend(GenItemClass itemClass, object data, GenListItemType type)
{
return Prepend(itemClass, data, type, null);
/// <param name="parent">The parent item, otherwise null if there is no parent item.</param>
/// <returns>Return a newly added genlist item that contains the data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Prepend(GenItemClass itemClass, object data, GenListItemType type, GenListItem parent)
{
GenListItem item = new GenListItem(data, itemClass, this);
/// <param name="before">The item before which to place this new one.</param>
/// <returns>Return a newly added genlist item that contains data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem InsertBefore(GenItemClass itemClass, object data, GenListItem before)
{
return InsertBefore(itemClass, data, before, GenListItemType.Normal);
/// <param name="type">The genlist item type.</param>
/// <returns>Return a newly added genlist item that contains data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem InsertBefore(GenItemClass itemClass, object data, GenListItem before, GenListItemType type)
{
return InsertBefore(itemClass, data, before, type, null);
/// <param name="parent">The parent item, otherwise null if there is no parent item.</param>
/// <returns>Return a newly added genlist item that contains data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem InsertBefore(GenItemClass itemClass, object data, GenListItem before, GenListItemType type, GenListItem parent)
{
GenListItem item = new GenListItem(data, itemClass, this);
/// <param name="parent">The parent item, otherwise null if there is no parent item.</param>
/// <returns>Return a newly added genlist item that contains data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem InsertAfter(GenItemClass itemClass, object data, GenListItem after, GenListItemType type, GenListItem parent)
{
GenListItem item = new GenListItem(data, itemClass, this);
/// <param name="parent">The parent item, otherwise null if there is no parent item.</param>
/// <returns>Return a genlist item that contains the data and itemClass.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem InsertSorted(GenItemClass itemClass, object data, Comparison<object> comparison, GenListItemType type, GenListItem parent)
{
GenListItem item = new GenListItem(data, itemClass, this);
/// <param name="position">The position to show the given item to <see cref="ScrollToPosition"/>.</param>
/// <param name="animated">The animated indicates how to display the item, by scrolling or by jumping.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ScrollTo(GenListItem item, ScrollToPosition position, bool animated)
{
if (animated)
/// </summary>
/// <seealso cref="GenListItem.Update"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UpdateRealizedItems()
{
Interop.Elementary.elm_genlist_realized_items_update(RealHandle);
/// </summary>
/// <seealso cref="ItemObject.Delete"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_genlist_clear(RealHandle);
/// </param>
/// <returns>The item at the given coordinates.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem GetItemByPosition(int x, int y, out int pos)
{
IntPtr handle = Interop.Elementary.elm_genlist_at_xy_item_get(RealHandle, x, y, out pos);
/// <param name="index">The number of the item to grab (0 being the first).</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem GetItemByIndex(int index)
{
IntPtr handle = Interop.Elementary.elm_genlist_nth_item_get(RealHandle, index);
/// The callback of the Unrealized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The type of the item's part types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum GenListItemFieldType
{
/// It contains the Update() method to update a genlist item which is given.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GenListItem : GenItem
{
internal GenListItem(object data, GenItemClass itemClass) : base(data, itemClass)
/// Gets or sets whether a given genlist item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool IsSelected
{
get
/// Gets or sets whether a given genlist item is expanded.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsExpanded
{
get
/// </summary>
/// <seealso cref="GenList.UpdateRealizedItems"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void Update()
{
Interop.Elementary.elm_genlist_item_update(Handle);
/// <param name="type">The type of the item's part type.</param>
/// <seealso cref="GenList.UpdateRealizedItems"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UpdateField(string part, GenListItemFieldType type)
{
Interop.Elementary.elm_genlist_item_fields_update(Handle, part, (uint)type);
/// Demotes an item to the end of the list.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DemoteItem()
{
Interop.Elementary.elm_genlist_item_demote(Handle);
/// Gets or sets the genlist item's select mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override GenItemSelectionMode SelectionMode
{
get
/// </summary>
/// <seealso cref="Previous"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Next
{
get
/// </summary>
/// <seealso cref="Next"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GenListItem Previous
{
get
/// Sets or gets the content to be shown in the tooltip item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string Cursor
{
/// Sets or gets the style for this item cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string CursorStyle
{
/// Sets or gets the cursor engine only usage for this item cursor.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool IsUseEngineCursor
{
/// </summary>
/// <param name="tooltip">The text to set in the content.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void SetTooltipText(string tooltip)
{
Interop.Elementary.elm_genlist_item_tooltip_text_set(Handle, tooltip);
/// Unsets the tooltip from the item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void UnsetTooltip()
{
Interop.Elementary.elm_genlist_item_tooltip_unset(Handle);
/// Gets or sets the style of the given genlist item's tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string TooltipStyle
{
get
/// Gets or sets the disable size restrictions on an object's tooltip.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsTooltipWindowMode
{
get
/// Gets the index of the item. It is only valid, once displayed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Index
{
get
/// Gets the depth of the expanded item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ExpandedItemDepth
{
get
/// This removes the items that are the children (and their descendants) of the given item.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearSubitems()
{
Interop.Elementary.elm_genlist_item_subitems_clear(Handle);
/// <param name="itemClass">The item class for the item.</param>
/// <param name="data">The data for the item.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UpdateItemClass(GenItemClass itemClass, object data)
{
Data = data;
/// Sets the content to be shown in the tooltip item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void UpdateTooltipDelegate()
{
Interop.Elementary.elm_genlist_item_tooltip_content_cb_set(Handle,
/// Inherits Widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class GestureLayer : Widget
{
private readonly Interop.Elementary.GestureEventCallback _gestureCallback;
/// </summary>
/// <param name="parent">The parent is a given container which will be attached by the GestureLayer as a child. It's the <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public GestureLayer(EvasObject parent) : base(parent)
{
_gestureCallback = new Interop.Elementary.GestureEventCallback(GestureCallbackHandler);
/// Enumeration for the supported gesture types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum GestureType
{
/// <summary>
/// Enumeration for the gesture states.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum GestureState
{
/// <summary>
/// Sets or gets the repeat-events setting.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool HoldEvents
{
get
/// Sets or gets the gesture layer to continue enable of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Continues
{
get
/// Sets or gets the gesture layer finger-size for taps.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int TapFingerSize
{
get
/// Sets or gets the gesture layer long tap start timeout of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double LongTapTimeout
{
get
/// Sets or gets the gesture layer double tap timeout of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double DoubleTapTimeout
{
get
/// Sets or gets the gesture layer flick time limit (in ms) of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int FlickTimeLimit
{
get
/// Sets or gets the gesture layer line minimum length of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int MinimumLineLength
{
get
/// Sets or gets the gesture layer line angular tolerance of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double LineAngularTolerance
{
get
/// Sets or gets the gesture layer line distance tolerance of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int LineDistanceTolerance
{
get
/// Sets or gets the step-value for the rotate action.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double RotateStep
{
get
/// Sets or gets the gesture layer rotate angular tolerance of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double RotateAngularTolerance
{
get
/// Sets or gets the control step value for the zoom action.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double ZoomStep
{
get
/// Sets or gets the gesture layer zoom distance tolerance of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ZoomDistanceTolerance
{
get
/// Sets or gets the gesture layer zoom finger factor of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double ZoomFingerFactor
{
get
/// Sets or gets the gesture layer zoom wheel factor of an object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double ZoomWheelFactor
{
get
/// </summary>
/// <param name="target">The object to attach.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Attach(EvasObject target)
{
Interop.Elementary.elm_gesture_layer_attach(Handle, target.Handle);
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetGestureCallback(GestureType type, GestureState state, Action<object> action)
{
lock (_handlers)
/// Clears the gesture state change callback.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearCallbacks()
{
lock (_handlers)
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetTapCallback(GestureType type, GestureState state, Action<TapData> action)
{
SetCallback(type, state, action);
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetMomentumCallback(GestureState state, Action<MomentumData> action)
{
SetCallback(GestureType.Momentum, state, action);
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetLineCallback(GestureState state, Action<LineData> action)
{
SetCallback(GestureType.Line, state, action);
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFlickCallback(GestureState state, Action<LineData> action)
{
SetCallback(GestureType.Flick, state, action);
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetZoomCallback(GestureState state, Action<ZoomData> action)
{
SetCallback(GestureType.Zoom, state, action);
/// <param name="state">The event the callback tracks (START, MOVE, END, ABORT).</param>
/// <param name="action">The callback itself.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetRotateCallback(GestureState state, Action<RotateData> action)
{
SetCallback(GestureType.Rotate, state, action);
/// <param name="parent">The gesture layer's parent widget.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return Interop.Elementary.elm_gesture_layer_add(parent.Handle);
/// Clears the gesture state change callback.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnUnrealize()
{
ClearCallbacks();
/// The struct of TapData.
/// </summary>
/// <since_tizen> preview </since_tizen>
- [NativeStruct("Elm_Gesture_Taps_Info", Include="Elementary.h", PkgConfig="elementary")]
+ [Obsolete("This has been deprecated in API12")]
+ [NativeStruct("Elm_Gesture_Taps_Info", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
public struct TapData
{
/// The X coordinate of the center point.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X;
/// <summary>
/// The Y coordinate of the center point.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y;
#pragma warning disable 3003
/// The number of fingers tapped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 FingersCount;
/// <summary>
/// The timestamp.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 Timestamp;
#pragma warning restore 3003
/// The struct of MomentumData.
/// </summary>
/// <since_tizen> preview </since_tizen>
- [NativeStruct("Elm_Gesture_Momentum_Info", Include="Elementary.h", PkgConfig="elementary")]
+ [Obsolete("This has been deprecated in API12")]
+ [NativeStruct("Elm_Gesture_Momentum_Info", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
public struct MomentumData
{
/// Final-swipe direction starting point on X.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X1;
/// <summary>
/// Final-swipe direction starting point on Y.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y1;
/// <summary>
/// Final-swipe direction ending point on X.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X2;
/// <summary>
/// Final-swipe direction ending point on Y.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y2;
#pragma warning disable 3003
/// Timestamp of start of final X-swipe.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 HorizontalSwipeTimestamp;
/// <summary>
/// Timestamp of start of final Y-swipe.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 VerticalSwipeTimestamp;
/// <summary>
/// Momentum on X.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 HorizontalMomentum;
/// <summary>
/// Momentum on Y.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 VerticalMomentum;
/// <summary>
/// Number of fingers.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 FingersCount;
#pragma warning restore 3003
/// The struct of LineData.
/// </summary>
/// <since_tizen> preview </since_tizen>
- [NativeStruct("Elm_Gesture_Line_Info", Include="Elementary.h", PkgConfig="elementary")]
+ [Obsolete("This has been deprecated in API12")]
+ [NativeStruct("Elm_Gesture_Line_Info", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
public struct LineData
{
/// Final-swipe direction starting point on X.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X1;
/// <summary>
/// Final-swipe direction starting point on Y.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y1;
/// <summary>
/// Final-swipe direction ending point on X.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X2;
/// <summary>
/// Final-swipe direction ending point on Y.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y2;
#pragma warning disable 3003
/// Timestamp of start of final X-swipe.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 HorizontalSwipeTimestamp;
/// <summary>
/// Timestamp of start of final Y-swipe.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 VerticalSwipeTimestamp;
/// <summary>
/// Momentum on X.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 HorizontalMomentum;
/// <summary>
/// Momentum on Y.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 VerticalMomentum;
/// <summary>
/// Number of fingers.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public UInt32 FingersCount;
#pragma warning restore 3003
/// Angle (direction) of lines.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Angle;
}
/// The struct of ZoomData.
/// </summary>
/// <since_tizen> preview </since_tizen>
- [NativeStruct("Elm_Gesture_Zoom_Info", Include="Elementary.h", PkgConfig="elementary")]
+ [Obsolete("This has been deprecated in API12")]
+ [NativeStruct("Elm_Gesture_Zoom_Info", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
public struct ZoomData
{
/// The X coordinate of zoom center point reported to the user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X;
/// <summary>
/// The Y coordinate of zoom center point reported to the user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y;
/// <summary>
/// The radius (distance) between fingers reported to user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Radius;
/// <summary>
/// The zoom value. 1.0 means no zoom.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Zoom;
/// <summary>
/// The struct of RotateData.
/// </summary>
/// <since_tizen> preview </since_tizen>
- [NativeStruct("Elm_Gesture_Rotate_Info", Include="Elementary.h", PkgConfig="elementary")]
+ [Obsolete("This has been deprecated in API12")]
+ [NativeStruct("Elm_Gesture_Rotate_Info", Include = "Elementary.h", PkgConfig = "elementary")]
[StructLayout(LayoutKind.Sequential)]
public struct RotateData
{
/// The X coordinate of rotation center point reported to the user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 X;
/// <summary>
/// The Y coordinate of rotation center point reported to the user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Y;
/// <summary>
/// The radius (distance) between fingers reported to user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Int32 Radius;
/// <summary>
/// The start-angle.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BaseAngle;
/// <summary>
/// The rotation value. 0.0 means no rotation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Angle;
/// <summary>
/// Config is a static class, it provides gestureLayer's timeout information.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class Config
{
/// <summary>
/// Sets or gets the duration for occurring long tap event of gesture layer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static double DefaultLongTapTimeout
{
get
/// Sets or gets the duration for occurring double tap event of gesture layer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static double DefaultDoubleTapTimeout
{
get
/// The HoverselItemEventArgs is a HoverselItem's EventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class HoverselItemEventArgs : EventArgs
{
/// <summary>
/// The hoversel's item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public HoverselItem Item { get; set; }
internal static HoverselItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info)
/// The hoversel is a button that pops up a list of items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Hoversel : Layout
{
SmartEvent _clicked;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by Hoversel as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Hoversel(EvasObject parent) : base(parent)
{
_clicked = new SmartEvent(this, "clicked");
/// Clicked will be triggered when the hoversel is clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
/// <summary>
/// Expanded will be triggered when the hoversel is activated by clicking the hoversel, or by a function.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Expanded;
/// <summary>
/// Dismissed will be triggered when the hoversel is dismissed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Dismissed;
/// <summary>
/// ItemSelected will be triggered when the hoversel's item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<HoverselItemEventArgs> ItemSelected;
/// <summary>
/// Gets or sets the status to control whether the hoversel should expand horizontally.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Gets or sets the hover parent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IntPtr HoverParent
{
get
/// Gets the flag of whether the hoversel is expanded.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsExpanded
{
get
/// Gets or sets the status of whether to update the icon and text of hoversel same to those of the selected item automatically.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoUpdate
{
get
/// This triggers the hoversel popup from the code, the same as if the user had clicked the button.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void HoverBegin()
{
Interop.Elementary.elm_hoversel_hover_begin(RealHandle);
/// This dismisses the hoversel popup as if the user had clicked outside the hover.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void HoverEnd()
{
Interop.Elementary.elm_hoversel_hover_end(RealHandle);
/// This will remove all the children items from the hoversel.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_hoversel_clear(RealHandle);
/// <param name="label">Item's label.</param>
/// <returns>A handle to the added item.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public HoverselItem AddItem(string label)
{
HoverselItem item = new HoverselItem(this);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The HoverselItem is the item of Hoversel.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class HoverselItem : ItemObject
{
internal HoverselItem() : base(IntPtr.Zero)
/// The HoverselItem's label.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Label { get; internal set; }
/// <summary>
/// ItemSelected will be triggered when the HoverselItem is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ItemSelected;
internal void SendItemSelected()
* limitations under the License.
*/
+using System;
+
namespace ElmSharp.Accessible
{
/// <summary>
/// IAccessibleObject is an interface, which defines the properties and methods of an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public interface IAccessibleObject
{
/// <summary>
/// Gets or sets the reading information types of an accessible object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
ReadingInfoType ReadingInfoType { get; set; }
/// <summary>
/// Gets or sets the role of the object in an accessibility domain.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
AccessRole Role { get; set; }
/// <summary>
/// Gets or sets the highlightable of the given widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
bool CanHighlight { get; set; }
/// <summary>
/// It is the application developer's responsibility to ensure that translation files are loaded and binded to the translation domain when accessibility is enabled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
string TranslationDomain { get; set; }
/// <summary>
/// Gets or sets an accessible name of the object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
string Name { get; set; }
/// <summary>
/// Gets or sets contextual information about the object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
string Description { get; set; }
/// <summary>
/// Gets or sets the delegate for <see cref="IAccessibleObject.Name"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
AccessibleInfoProvider NameProvider { get; set; }
/// <summary>
/// Gets or sets the delegate for <see cref="IAccessibleObject.Description"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
AccessibleInfoProvider DescriptionProvider { get; set; }
/// <summary>
/// </summary>
/// <param name="relation">The relationship between the source object and target object of a given type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
void AppendRelation(IAccessibleRelation relation);
/// <summary>
/// </summary>
/// <param name="relation">The relationship between the source object and target object of a given type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
void RemoveRelation(IAccessibleRelation relation);
/// <summary>
/// Highlights the accessible widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
void Highlight();
/// <summary>
/// Clears the highlight of the accessible widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
void Unhighlight();
}
}
/// The AnimatorMotionMapper interface.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public interface IAnimatorMotionMapper
{
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
double Calculate(double position);
}
/// The LinearMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class LinearMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Linear, 0, 0);
/// The AccelerateMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class AccelerateMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Accelerate, 0, 0);
/// The DecelerateMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DecelerateMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Decelerate, 0, 0);
/// The SinusoidalMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class SinusoidalMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Sinusoidal, 0, 0);
/// The AccelerateFactorMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class AccelerateFactorMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The power factor of AccelerateFactorMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double PowerFactor { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.AccelerateFactor, PowerFactor, 0);
/// The DecelerateFactorMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DecelerateFactorMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The power factor of DecelerateFactorMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double PowerFactor { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.DecelerateFactor, PowerFactor, 0);
/// The SinusoidalFactorMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class SinusoidalFactorMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The power factor of SinusoidalFactorMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double PowerFactor { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.SinusoidalFactor, PowerFactor, 0);
/// The DivisorInterpolatedMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class DivisorInterpolatedMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The Divisor of DivisorInterpolatedMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Divisor { get; set; } = 0;
/// <summary>
/// The power of DivisorInterpolatedMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Power { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.DivisorInterp, Divisor, Power);
/// The BounceMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class BounceMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The bounces of BounceMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Bounces { get; set; } = 0;
/// <summary>
/// The decay factor of BounceMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double DecayFactor { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Bounce, DecayFactor, Bounces);
/// The SpringMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class SpringMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The wobbles of SpringMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Wobbles { get; set; } = 0;
/// <summary>
/// The decay factor of SpringMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double DecayFactor { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
return Interop.Ecore.ecore_animator_pos_map(position, Interop.Ecore.PositionMap.Bounce, DecayFactor, Wobbles);
/// The CubicBezierMotionMapper class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class CubicBezierMotionMapper : IAnimatorMotionMapper
{
/// <summary>
/// The X1 of CubicBezierMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double X1 { get; set; } = 0;
/// <summary>
/// The Y1 of CubicBezierMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Y1 { get; set; } = 0;
/// <summary>
/// The X2 of CubicBezierMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double X2 { get; set; } = 0;
/// <summary>
/// The Y2 of CubicBezierMotionMapper.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Y2 { get; set; } = 0;
/// <summary>
/// Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Calculate(double position)
{
double[] values = { X1, Y1, X2, Y2 };
/// Enumeration for the icon lookup order. Should look for icons in the theme, FDO paths, or both.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum IconLookupOrder
{
/// <summary>
/// Inherits Image.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Icon : Image
{
/// <summary>
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by Icon as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Icon(EvasObject parent) : base(parent)
{
}
/// Sets or gets the standard icon name of a given Icon widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string StandardIconName
{
get
/// Sets or gets the icon lookup order of a given Icon widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IconLookupOrder IconLookupOrder
{
get
/// <param name="file">The path to the file that is used as an icon image.</param>
/// <param name="group">The group that the icon belongs to.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetThumb(string file, string group)
{
Interop.Elementary.elm_icon_thumb_set(RealHandle, file, group);
/// <param name="parent">EvasObject</param>
/// <returns>The new object, otherwise null if it cannot be created.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);
/// Inherits Widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Image : Widget
{
bool _canScaleUp = true;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by the image as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Image(EvasObject parent) : base(parent)
{
_clicked = new SmartEvent(this, "clicked");
/// Clicked will be triggered when the image is clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
/// <summary>
/// LoadingCompleted will be triggered when the image is loaded completely.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler LoadingCompleted;
/// <summary>
/// Clicked will be triggered when the image fails to load.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler LoadingFailed;
/// <summary>
/// Gets the file that is used as an image.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string File
{
get
/// Sets or gets the smooth effect for an image.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSmooth
{
get
/// Sets or gets whether scaling is disabled on the object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsScaling
{
get
/// Sets or gets whether the object is down resizable.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool CanScaleDown
{
get
/// Sets or gets whether the object is up resizable.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool CanScaleUp
{
get
/// Sets or gets whether the image fills the entire object area, when keeping the aspect ratio.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool CanFillOutside
{
get
/// Sets or gets the prescale size for the image.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int PrescaleSize
{
get
/// Sets or gets whether the original aspect ratio of the image should be kept on resize.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFixedAspect
{
get
/// Sets or gets whether an image object (which supports animation) is to animate itself.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsAnimated
{
get
/// Gets whether an image object supports animation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsAnimatedAvailable
{
get
/// To actually start playing any image object's animation, <see cref="IsAnimated"/> should be TRUE before setting this property true.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsAnimationPlaying
{
get
/// Sets or gets whether the image is 'editable'.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEditable
{
get
/// Gets the current size of the image.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size ObjectSize
{
get
/// Sets or gets whether the alpha channel data is being used on the given image object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpaque
{
get
/// Sets or gets the image orientation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ImageOrientation Orientation
{
get
/// Sets or gets the image color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color Color
{
get
/// Sets the background color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
set
/// </summary>
/// <remarks>Be careful not to manipulate it, as it is under the control of the widget.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasImage ImageObject
{
get
/// <param name="top">The border's top width.</param>
/// <param name="bottom">The border's bottom width.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetBorder(int left, int right, int top, int bottom)
{
ImageObject?.SetBorder(left, right, top, bottom);
/// Very useful for frames and decorations.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ImageBorderFillMode BorderCenterFillMode
{
get
/// <param name="file">The path to the file that is used as an image source.</param>
/// <returns>(true = success, false = error)</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Load(string file)
{
if (file == null)
/// <param name="uri">The URI to the file that is used as an image source.</param>
/// <returns>(true = success, false = error)</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Load(Uri uri)
{
if (uri == null)
/// <param name="stream">The stream that is used as an image source.</param>
/// <returns>(true = success, false = error)</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Load(Stream stream)
{
if (stream == null)
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>(true = success, false = error)</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public async Task<bool> LoadAsync(string file, CancellationToken cancellationToken = default(CancellationToken))
{
if (file == null)
throw new InvalidOperationException("Failed to set file to Image");
}
// it should be return on main thread, because SmartEvent should be disposed on main thread
- return await tcs.Task.ConfigureAwait(true);
+ return await tcs.Task.ConfigureAwait(true);
}
}
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>(true = success, false = error)</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Task<bool> LoadAsync(Uri uri, CancellationToken cancellationToken = default(CancellationToken))
{
if (uri == null)
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>(true = success, false = error)</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public async Task<bool> LoadAsync(Stream stream, CancellationToken cancellationToken = default(CancellationToken))
{
if (stream == null)
/// <param name="part">The name of the Color class.</param>
/// <param name="color">The struct of the Color class.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void SetPartColor(string part, Color color)
{
Interop.Elementary.elm_object_color_class_color_set(Handle, part, color.R * color.A / 255,
/// <param name="part">The name of the Color class.</param>
/// <returns>The color object.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color GetPartColor(string part)
{
Interop.Elementary.elm_object_color_class_color_get(Handle, part, out int r, out int g, out int b, out int a);
/// <param name="parent">The parent is a given container, which will be attached by the image as a child. It's <see cref="EvasObject"/> type.</param>
/// <returns>The new object, otherwise null if it cannot be created.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);
/// Enumeration for the fill mode of the image border.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ImageBorderFillMode
{
/// <summary>
/// Enumeration for the possible orientation options.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ImageOrientation : int
{
/// <summary>
/// Inherits Layout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Index : Layout
{
HashSet<IndexItem> _children = new HashSet<IndexItem>();
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by Index as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Index(EvasObject parent) : base(parent)
{
_delayedChanged = new SmartEvent(this, this.RealHandle, "delay,changed");
/// Changed will be triggered when the selected index item is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Changed;
/// <summary>
/// Sets or gets whether the auto hiding feature is enabled or not for a given index widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoHide
{
get
/// Sets or gets a value whether the horizontal mode is enabled or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Sets or gets a value of the indicator's disabled status.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IndicatorVisible
{
get
/// Sets or gets whether the omit feature is enabled or not for a given index widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool OmitEnabled
{
get
/// The delay time is 0.2 seconds by default.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Delay
{
get
/// Gets or sets the items level for a given index widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Level
{
get
/// Priority group will be shown as many items as it can, and other group will be shown for one character only.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Priority
{
get
/// Gets the last selected item for a given index widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem SelectedItem
{
get
/// <param name="label">The label for which the item should be indexed.</param>
/// <returns>An object to the IndexItem if added, or null on errors.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem Append(string label)
{
IndexItem item = new IndexItem(label, this);
/// <param name="label">The label for which the item should be indexed.</param>
/// <returns>A handle to the item if added, or null on errors.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem Prepend(string label)
{
IndexItem item = new IndexItem(label, this);
/// <param name="before">The index item to insert after.</param>
/// <returns>An object to the IndexItem if added, or null on errors.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem InsertBefore(string label, IndexItem before)
{
IndexItem item = new IndexItem(label, this);
/// <param name="after">The index item to insert after.</param>
/// <returns>An object to the IndexItem if added, or null on errors.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem InsertAfter(string label, IndexItem after)
{
IndexItem item = new IndexItem(label, this);
/// </summary>
/// <param name="level">The index level (one of 0 or 1) where the changes were made.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Update(int level)
{
Interop.Elementary.elm_index_level_go(RealHandle, level);
/// Removes all the items from a given index widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_index_item_clear(RealHandle);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// Inherits ItemObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class IndexItem : ItemObject
{
/// <summary>
/// </summary>
/// <param name="text">The text is set to the Text. It's the 'string' type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem(string text) : base(IntPtr.Zero)
{
Text = text;
/// <param name="text">The text is set to the Text. It's the 'string' type.</param>
/// <param name="parent">Parent EvasObject</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndexItem(string text, EvasObject parent) : base(IntPtr.Zero, parent)
{
Text = text;
/// Selected will be triggered when the index item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
/// <summary>
/// Gets the text.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text { get; private set; }
/// <summary>
/// </summary>
/// <param name="selected">The selected state.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Select(bool selected)
{
Interop.Elementary.elm_index_item_selected_set(Handle, selected);
/// Enumeration of device type generated events.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputDeviceType
{
/// <summary>
/// Enumeration of pointer event types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputPointerType
{
/// <summary>
/// Enumeration of touch event types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum InputTouchType
{
/// <summary>
/// This is not for use by third-party applications.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class InputGenerator : IDisposable
{
IntPtr _handle = IntPtr.Zero;
/// </summary>
/// <param name="deviceType">The device type want to generate events</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public InputGenerator(InputDeviceType deviceType)
{
_handle = Interop.Eutil.efl_util_input_initialize_generator((int)deviceType);
/// <param name="deviceType">The device type want to generate events</param>
/// <param name="name">The device name (maximum 31 characters)</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public InputGenerator(InputDeviceType deviceType, string name)
{
_handle = Interop.Eutil.efl_util_input_initialize_generator_with_name((int)deviceType, name);
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// otherwise false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (_isDisposed)
/// <param name="key">The key name want to generate.</param>
/// <param name="pressed">The value that select key press or release. (0: release, 1: press)</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void GenerateKeyEvent(string key, int pressed)
{
Interop.Eutil.efl_util_input_generate_key(_handle, key, pressed);
/// <param name="x">x coordination to move.</param>
/// <param name="y">y coordination to move.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void GenerateMouseEvent(int buttons, InputPointerType type, int x, int y)
{
Interop.Eutil.efl_util_input_generate_pointer(_handle, buttons, (int)type, x, y);
/// <param name="x">The x axis of touch point.</param>
/// <param name="y">The y axis of touch point.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void GenerateTouchEvent(int index, InputTouchType type, int x, int y)
{
Interop.Eutil.efl_util_input_generate_touch(_handle, index, (int)type, x, y);
/// The ItemObject is used to manage the item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ItemObject
{
private static Dictionary<int, ItemObject> s_IdToItemTable = new Dictionary<int, ItemObject>();
/// Gets the parent object for ItemObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject Parent { get; internal set; }
/// <summary>
/// </summary>
/// <param name="handle">IntPtr</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected ItemObject(IntPtr handle)
{
_deleteCallback = DeleteCallbackHandler;
/// <param name="handle">IntPtr</param>
/// <param name="parent">Parent EvasObject</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected ItemObject(IntPtr handle, EvasObject parent)
{
_deleteCallback = DeleteCallbackHandler;
/// Gets the ID of the item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Id { get; private set; }
/// <summary>
/// Sets or gets whether the item object is enabled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEnabled
{
get { return !Interop.Elementary.elm_object_item_disabled_get(Handle); }
/// Gets the track object of the item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject TrackObject
{
get
/// Sets or gets the style of the item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual string Style
{
get
/// Deleted will be triggered when the item object is deleted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Deleted;
/// <summary>
/// Deletes the item object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Delete()
{
Interop.Elementary.elm_object_item_del(Handle);
/// <param name="part">The content part name (null for the default content).</param>
/// <param name="content">The content of the object item.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartContent(string part, EvasObject content)
{
SetPartContent(part, content, false);
/// <param name="content">The content of the object item.</param>
/// <param name="preserveOldContent">Judge whether to delete the old content.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartContent(string part, EvasObject content, bool preserveOldContent)
{
IntPtr oldContent = Interop.Elementary.elm_object_item_part_content_unset(Handle, part);
/// <param name="part">The text part name (null for the default label).</param>
/// <param name="text">Text of the label.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartText(string part, string text)
{
Interop.Elementary.elm_object_item_part_text_set(Handle, part, text);
/// <param name="part">The text part name (null for the default label).</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string GetPartText(string part)
{
return Interop.Elementary.elm_object_item_part_text_get(Handle, part);
/// <param name="part">The text part name (null for the default label).</param>
/// <param name="color">The color.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartColor(string part, Color color)
{
Interop.Elementary.elm_object_item_color_class_color_set(Handle, part, color.R * color.A / 255,
/// <param name="part">The text part name (null for the default label).</param>
/// <returns>The color of an object item.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color GetPartColor(string part)
{
int r, g, b, a;
/// </summary>
/// <param name="part">The text part name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeletePartColor(string part)
{
Interop.Elementary.elm_object_item_color_class_del(Handle, part);
/// <param name="source">The signal's source.</param>
/// <param name="func">The function to be executed when the signal is emitted.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddSignalHandler(string emission, string source, Func<string, string, bool> func)
{
if (emission != null && source != null && func != null)
/// <param name="source">The signal's source.</param>
/// <param name="func">The function to be executed when the signal is emitted.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void RemoveSignalHandler(string emission, string source, Func<string, string, bool> func)
{
if (emission != null && source != null && func != null)
/// <param name="emission">The signal's name.</param>
/// <param name="source">The signal's source.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void EmitSignal(string emission, string source)
{
Interop.Elementary.elm_object_item_signal_emit(Handle, emission, source);
/// </summary>
/// <param name="obj">ItemObject</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static implicit operator IntPtr(ItemObject obj)
{
if (obj == null)
/// OnInvalidate of the object item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnInvalidate() { }
internal static ItemObject GetItemById(int id)
return Equals(other as SignalData);
}
- public bool Equals(SignalData other) {
+ public bool Equals(SignalData other)
+ {
if (other == null)
{
return false;
/// The ItemObjectExtension is used to manage the item object extension.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class ItemObjectExtension
{
/// <summary>
/// </summary>
/// <param name="obj">The item object, which has grabbed the highlight.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void GrabHighlight(this ItemObject obj)
{
Interop.Elementary.elm_atspi_component_highlight_grab(obj.Handle);
/// </summary>
/// <param name="obj">The item object, which has cleared the highlight.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void ClearHighlight(this ItemObject obj)
{
Interop.Elementary.elm_atspi_component_highlight_clear(obj.Handle);
/// Inherits Layout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Label : Layout
{
SmartEvent _slideCompleted;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by the Label as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Label(EvasObject parent) : base(parent)
{
_slideCompleted = new SmartEvent(this, this.RealHandle, "slide,end");
/// SlideCompleted will be triggered when the slide is completed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler SlideCompleted;
/// <summary>
/// Sets or gets the wrap width of the label.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int LineWrapWidth
{
get
/// Sets or gets the wrapping behavior of the label.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WrapType LineWrapType
{
get
/// Sets or gets the slide mode of the Label widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public LabelSlideMode SlideMode
{
get
/// Sets or gets the slide duration of the label.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double SlideDuration
{
get
/// </remarks>
/// <seealso cref="SlideDuration"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double SlideSpeed
{
get
/// Sets or gets the ellipsis behavior of the label.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEllipsis
{
get
/// </remarks>
///
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string TextStyle
{
get
/// Starts the slide effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PlaySlide()
{
Interop.Elementary.elm_label_slide_go(RealHandle);
/// <param name="parent">EvasObject</param>
/// <returns>The new object, otherwise null if it cannot be created.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
- {
+ {
return Interop.Elementary.elm_label_add(parent.Handle);
}
}
/// Enumeration for the slide modes of a label widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum LabelSlideMode
{
/// <summary>
/// Inherits Widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Layout : Container
{
SmartEvent _languageChanged;
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by the layout as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Layout(EvasObject parent) : base(parent)
{
}
/// Creates and initializes a new instance of the Layout class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Layout() : base()
{
}
/// LanguageChanged will be triggered when the program's language is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler LanguageChanged;
/// <summary>
/// ThemeChanged will be triggered when the theme is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ThemeChanged;
/// <summary>
/// Gets the edje layout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EdjeObject EdjeObject
{
get
/// Gets or sets the accessibility state of texblock (text) parts in a layout object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool TextBlockAccessibility
{
get
/// </summary>
/// <returns>The frozen state, or 0 if the object is not frozen or on error.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Freeze()
{
return Interop.Elementary.elm_layout_freeze(RealHandle);
/// </summary>
/// <returns>The frozen state, or 0 if the object is not frozen or on error.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Thaw()
{
return Interop.Elementary.elm_layout_thaw(RealHandle);
/// All of this can change due to state changes, and that's when this function should be called.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Resizing()
{
Interop.Elementary.elm_layout_sizing_eval(RealHandle);
/// <param name="width">Restrict minimum size of the current width.</param>
/// <param name="height">Restrict minimum size of the current height.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Resizing(bool width, bool height)
{
Interop.Elementary.elm_layout_sizing_restricted_eval(RealHandle, width, height);
/// <param name="key">The data key.</param>
/// <returns>The data.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string GetEdjeData(string key)
{
return Interop.Elementary.elm_layout_data_get(RealHandle, key);
/// <param name="part">The text part to retrieve the text off.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string GetPartText(string part)
{
return Interop.Elementary.elm_layout_text_get(RealHandle, part);
/// <param name="text">The text to set.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool SetPartText(string part, string text)
{
return Interop.Elementary.elm_layout_text_set(RealHandle, part, text);
/// <param name="child">The object to append.</param>
/// <returns>Success is true.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool BoxAppend(string part, EvasObject child)
{
AddChild(child);
/// <param name="child">The object to prepend.</param>
/// <returns>Success is true.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool BoxPrepend(string part, EvasObject child)
{
AddChild(child);
/// <param name="child">The object to remove.</param>
/// <returns>Success if true</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool BoxRemove(string part, EvasObject child)
{
RemoveChild(child);
/// <param name="clear">If true, then all the objects will be deleted as well, otherwise they will just be removed and will be dangling on the canvas.</param>
/// <returns>Success if true.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool BoxRemoveAll(string part, bool clear)
{
ClearChildren();
/// <param name="position">The numeric position >=0 to insert the child.</param>
/// <returns>Success if true.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool BoxInsertAt(string part, EvasObject child, uint position)
{
AddChild(child);
/// <param name="reference">Another reference object to insert before the box.</param>
/// <returns>Success is true.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool BoxInsertBefore(string part, EvasObject child, EvasObject reference)
{
AddChild(child);
/// <param name="content">The child that will be added in this layout object.</param>
/// <returns>TRUE on success, FALSE otherwise.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool SetPartContent(string part, EvasObject content)
{
return SetPartContent(part, content, false);
/// <param name="preserveOldContent">true, preserve old content will be unset. false, preserve old content will not be unset.</param>
/// <returns>TRUE on success, FALSE otherwise.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool SetPartContent(string part, EvasObject content, bool preserveOldContent)
{
if (preserveOldContent)
/// <param name="group">The group.</param>
/// <param name="style">The style to use.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetTheme(string klass, string group, string style)
{
Interop.Elementary.elm_layout_theme_set(RealHandle, klass, group, style);
/// <param name="file">The path to the file (edje) that is used as a layout.</param>
/// <param name="group">The group that the layout belongs to in the edje file.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFile(string file, string group)
{
Interop.Elementary.elm_layout_file_set(RealHandle, file, group);
/// Sets the background color of a layout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
set
/// API, elm_layout_text_valign_set, is an internal API only in Tizen. Available since Tizen_4.0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual void SetVerticalTextAlignment(string part, double valign)
{
Interop.Elementary.elm_layout_text_valign_set(RealHandle, part, valign);
/// API, elm_layout_text_valign_get, is an internal API only in Tizen. Available since Tizen_4.0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual double GetVerticalTextAlignment(string part)
{
return Interop.Elementary.elm_layout_text_valign_get(RealHandle, part);
/// The callback of the Realized Event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// <param name="parent">The parent is a given container which will be attached by the layout as a child. It's <see cref="EvasObject"/> type.</param>
/// <returns>The new object, otherwise null if it cannot be created.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return Interop.Elementary.elm_layout_add(parent.Handle);
/// Enumeration for setting the list's resizing behavior, transverse axis scrolling, and items cropping.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ListMode
{
/// <summary>
/// All the events of a list contain ListItemEventArgs as a parameter.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ListItemEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the list item. The return type is <see cref="ListItem"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListItem Item { get; set; }
internal static ListItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info)
/// <seealso cref="GenList"/>
/// <seealso cref="GenGrid"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class List : Layout
{
HashSet<ListItem> _children = new HashSet<ListItem>();
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by the list as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public List(EvasObject parent) : base(parent)
{
_selected = new SmartEvent<ListItemEventArgs>(this, this.RealHandle, "selected", ListItemEventArgs.CreateFromSmartEvent);
/// Gets or sets which mode to be used for the list.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListMode Mode
{
get
/// Gets the selected item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListItem SelectedItem
{
get
/// ItemSelected is raised when a new list item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ListItemEventArgs> ItemSelected;
/// <summary>
/// ItemUnselected is raised when a list item is Unselected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ListItemEventArgs> ItemUnselected;
/// <summary>
/// ItemDoubleClicked is raised when a new list item is double-clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ListItemEventArgs> ItemDoubleClicked;
/// <summary>
/// ItemLongPressed is raised when a list item is pressed for a certain amount of time. By default, it's 1 second.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ListItemEventArgs> ItemLongPressed;
/// <summary>
/// ItemActivated is raised when a new list item is double-clicked or pressed (enter|return|spacebar).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ListItemEventArgs> ItemActivated;
/// <summary>
/// If not called, it won't display the list properly.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Update()
{
Interop.Elementary.elm_list_go(RealHandle);
/// <returns>Return a new added list item that contains a text.</returns>
/// <seealso cref="ListItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListItem Append(string label)
{
return Append(label, null, null);
/// <returns>Return a new added list item that contains a text and 2 icons.</returns>
/// <seealso cref="ListItem"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListItem Append(string label, EvasObject leftIcon, EvasObject rightIcon)
{
ListItem item = new ListItem(label, leftIcon, rightIcon, this);
/// <param name="label">The text for the item.</param>
/// <returns>Return a new added list item that contains a text.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListItem Prepend(string label)
{
return Prepend(label, null, null);
/// <param name="rigthIcon">The right icon for the item.</param>
/// <returns>Return a new added list item that contains a text and 2 icons.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ListItem Prepend(string label, EvasObject leftIcon, EvasObject rigthIcon)
{
ListItem item = new ListItem(label, leftIcon, rigthIcon, this);
/// To delete just one item, use <see cref="ItemObject.Delete"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_list_clear(RealHandle);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// It contains the Text, LeftIcon, and RightIcon properties to show the list item which is given.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ListItem : ItemObject
{
internal ListItem(string text, EvasObject leftIcon, EvasObject rightIcon) : base(IntPtr.Zero)
LeftIcon = leftIcon;
RightIcon = rightIcon;
}
-
+
internal ListItem(string text, EvasObject leftIcon, EvasObject rightIcon, EvasObject parent) : base(IntPtr.Zero, parent)
{
Text = text;
/// Gets the text for the list item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text { get; internal set; }
/// <summary>
/// Gets the left icon for the list item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject LeftIcon { get; internal set; }
/// <summary>
/// Gets the right icon for the list item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject RightIcon { get; internal set; }
}
}
/// The typical use case of multi-button entry is composing emails/messages to a group of addresses, each of which is an item that can be clicked for further actions.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MultiButtonEntry : Layout
{
HashSet<MultiButtonEntryItem> _children = new HashSet<MultiButtonEntryItem>();
/// </summary>
/// <param name="parent">The parent is a given container, which will be attached by the MultiButtonEntry as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntry(EvasObject parent) : base(parent)
{
_clicked = new SmartEvent(this, "clicked");
/// Clicked is raised when a MultiButtonEntry is clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
/// <summary>
/// Expanded is raised when a MultiButtonEntry is expanded.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Expanded;
/// <summary>
/// Contracted is raised when a MultiButtonEntry is contracted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Contracted;
/// <summary>
/// ExpandedStateChanged is raised when shrink mode state of MultiButtonEntry is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ExpandedStateChanged;
/// <summary>
/// This is also raised when a user presses backspace, while the cursor is on the first field of the entry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MultiButtonEntryItemEventArgs> ItemSelected;
/// <summary>
/// ItemClicked is raised when an item is clicked by user interaction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MultiButtonEntryItemEventArgs> ItemClicked;
/// <summary>
/// ItemLongPressed is raised when MultiButtonEntry item is pressed for a long time.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MultiButtonEntryItemEventArgs> ItemLongPressed;
/// <summary>
/// ItemAdded is raised when a new MultiButtonEntry item is added.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MultiButtonEntryItemEventArgs> ItemAdded;
/// <summary>
/// ItemDeleted is raised when a MultiButtonEntry item is deleted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<MultiButtonEntryItemEventArgs> ItemDeleted;
/// <summary>
/// Gets the selected item in the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem SelectedItem
{
get
/// Gets or sets whether the MultiButtonEntry is editable or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEditable
{
get
/// If false, single line state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsExpanded
{
get
/// Gets the first item in the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem FirstItem
{
get
/// Gets the last item in the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem LastItem
{
get
/// Gets the entry object int the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Entry Entry
{
get
/// <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)
{
return Interop.Elementary.elm_multibuttonentry_add(parent.Handle);
/// <param name="label">The label of the new item.</param>
/// <returns>A MultiButtonEntryItem to the item added.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem Append(string label)
{
var handle = Interop.Elementary.elm_multibuttonentry_item_append(RealHandle, label, null, IntPtr.Zero);
/// <param name="label">The label of the new item.</param>
/// <returns>A MultiButtonEntryItem to the item added.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem Prepend(string label)
{
var handle = Interop.Elementary.elm_multibuttonentry_item_prepend(RealHandle, label, null, IntPtr.Zero);
/// <param name="label">The label of new item.</param>
/// <returns>A MultiButtonEntryItem to the item added.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem InsertBefore(MultiButtonEntryItem before, string label)
{
var handle = Interop.Elementary.elm_multibuttonentry_item_insert_before(RealHandle, before.Handle, label, null, IntPtr.Zero);
/// <param name="label">The label of new item.</param>
/// <returns>A MultiButtonEntryItem to the item added.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem InsertAfter(MultiButtonEntryItem after, string label)
{
var handle = Interop.Elementary.elm_multibuttonentry_item_insert_after(RealHandle, after.Handle, label, null, IntPtr.Zero);
/// Removes all items in the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_multibuttonentry_clear(RealHandle);
/// </summary>
/// <param name="func">The function to use as item filter.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AppendFilter(Func<string, bool> func)
{
_filters.Add(func);
/// </summary>
/// <param name="func">The function to use as text filter.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PrependFilter(Func<string, bool> func)
{
_filters.Insert(0, func);
/// </summary>
/// <param name="func">The filter function to remove.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void RemoveFilter(Func<string, bool> func)
{
_filters.Remove(func);
/// </summary>
/// <param name="func">The function to return string to show.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFormatCallback(Func<int, string> func)
{
if (func == null)
/// It contains the Item which is <see cref="MultiButtonEntryItem"/> type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MultiButtonEntryItemEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the MultiButtonEntryItem item. The return type is <see cref="MultiButtonEntryItem"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem Item { get; set; }
internal static MultiButtonEntryItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info)
/// It contains Next and Prev properties to get the next and previous item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class MultiButtonEntryItem : ItemObject
{
/// <summary>
/// </summary>
/// <param name="text">The text of the MultiButtonEntryItem's label name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem(string text) : base(IntPtr.Zero)
{
Label = text;
/// Gets the label of this item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Label { get; private set; }
/// <summary>
/// Gets or sets the selected state of an item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSelected
{
get
/// Get the next item in the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem Next
{
get
/// Get the previous item in the MultiButtonEntry.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public MultiButtonEntryItem Prev
{
get
* limitations under the License.
*/
+using System;
+
namespace ElmSharp
{
/// <summary>
/// Predefined values for the hint properties in EvasObject.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class NamedHint
{
/// <summary>
/// This value can be used for <see cref="EvasObject.WeightX"/> and <see cref="EvasObject.WeightY"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly double Expand = 1.0;
/// <summary>
/// This value can be used for <see cref="EvasObject.AlignmentX"/> and <see cref="EvasObject.AlignmentY"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static readonly double Fill = -1.0;
}
}
/// Inherits ItemObject
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class NaviItem : ItemObject
{
EvasObject _content;
/// Popped will be triggered when NaviItem is removed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Popped;
/// <summary>
/// Gets the content object. The name of the content part is "elm.swallow.content".
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject Content
{
get { return _content; }
/// Sets or gets a value whether the title area is enabled or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool TitleBarVisible
{
get
/// Sets or gets the title bar background color.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color TitleBarBackgroundColor
{
get
/// Sets or gets an item style.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string Style
{
get
/// The method should be overridden in the children class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnInvalidate()
{
if (!_isPopped)
/// Inherits EventArgs.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class NaviframeEventArgs : EventArgs
{
/// <summary>
/// Sets or gets the content object. The name of the content part is "elm.swallow.content".
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject Content { get; set; }
}
/// <summary>
/// Inherits Widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Naviframe : Widget
{
SmartEvent _transitionFinished;
/// </summary>
/// <param name="parent">The parent is a given container which will be attached by Naviframe as a child. It's <see cref="EvasObject"/> type.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Naviframe(EvasObject parent) : base(parent)
{
_transitionFinished = new SmartEvent(this, this.RealHandle, "transition,finished");
/// After calling the Popped event, the Pop/Delete method will be returned.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<NaviframeEventArgs> Popped;
/// <summary>
/// AnimationFinished will be triggered when the animation is finished.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler AnimationFinished;
/// <summary>
/// Gets the list of the navi item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IReadOnlyList<NaviItem> NavigationStack
{
get { return _itemStack; }
/// Sets or gets the preserve content objects when items are popped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool PreserveContentOnPop
{
get
/// Sets or gets whether the default back button is enabled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool DefaultBackButtonEnabled
{
get
/// <param name="content">The main content object. The name of the content part is "elm.swallow.content".</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem Push(EvasObject content)
{
return Push(content, null);
/// <param name="title">The current item title. Null would be default.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem Push(EvasObject content, string title)
{
return Push(content, title, null);
/// <param name="style">The current item style name. Null would be default.</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem Push(EvasObject content, string title, string style)
{
IntPtr item = Interop.Elementary.elm_naviframe_item_push(RealHandle, title, IntPtr.Zero, IntPtr.Zero, content.Handle, style);
/// <param name="content">The main content object. The name of the content part is "elm.swallow.content".</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem InsertBefore(NaviItem before, EvasObject content)
{
return InsertBefore(before, content, "");
/// <param name="title">The current item title. Null would be default.</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem InsertBefore(NaviItem before, EvasObject content, string title)
{
return InsertBefore(before, content, title, null);
/// <param name="style">The current item style name. Null would be default.</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem InsertBefore(NaviItem before, EvasObject content, string title, string style)
{
IntPtr item = Interop.Elementary.elm_naviframe_item_insert_before(RealHandle, before, title, IntPtr.Zero, IntPtr.Zero, content, null);
/// <param name="content">The main content object. The name of the content part is "elm.swallow.content".</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem InsertAfter(NaviItem after, EvasObject content)
{
return InsertAfter(after, content, "");
/// <param name="title">The current item title. Null would be default.</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem InsertAfter(NaviItem after, EvasObject content, string title)
{
return InsertAfter(after, content, title, null);
/// <param name="style">The current item style name. Null would be default.</param>
/// <returns>The created item, or null upon failure.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NaviItem InsertAfter(NaviItem after, EvasObject content, string title, string style)
{
IntPtr item = Interop.Elementary.elm_naviframe_item_insert_after(RealHandle, after, title, IntPtr.Zero, IntPtr.Zero, content, null);
/// Pops an item that is on top of the stack.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Pop()
{
Interop.Elementary.elm_naviframe_item_pop(RealHandle);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// Enumeration for the PanelDirection types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum PanelDirection
{
/// <summary>
/// The Panel is a container that can contain subobjects.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Panel : Layout
{
SmartEvent _toggled;
/// </summary>
/// <param name="parent">The EvasObject to which the new panel will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Panel(EvasObject parent) : base(parent)
{
_toggled = new SmartEvent(this, this.RealHandle, "toggled");
/// Sets or gets the hidden status of a given Panel widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsOpen
{
get
/// Sets or gets the direction of a given Panel widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public PanelDirection Direction
{
get
/// Toggled will be triggered when the panel is toggled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Toggled;
/// <summary>
/// Scrolled will be triggered when the panel has been scrolled. This event is emitted only when the panel is scrollable
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Scrolled;
/// <summary>
/// Bool value can be false or true.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetScrollable(bool enable)
{
Interop.Elementary.elm_panel_scrollable_set(RealHandle, enable);
/// The size of the scroll area.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetScrollableArea(double ratio)
{
Interop.Elementary.elm_panel_scrollable_content_size_set(RealHandle, ratio);
/// Toggles the hidden state of the panel.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Toggle()
{
Interop.Elementary.elm_panel_toggle(RealHandle);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// When dragged, this bar resizes the contents' size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Panes : Layout
{
SmartEvent _press;
/// </summary>
/// <param name="parent">The EvasObject to which the new Panes will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Panes(EvasObject parent) : base(parent)
{
_press = new SmartEvent(this, this.RealHandle, "press");
/// Pressed will be triggered when the panes have been pressed (button isn't released yet).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Pressed;
/// <summary>
/// Unpressed will be triggered when the panes are released after being pressed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Unpressed;
/// <summary>
/// True means the left and right panes resize homogeneously.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFixed
{
get
/// The float type value between 0.0 and 1.0 represents the size proportion of the left side.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Proportion
{
get
/// By default, the panes are in a vertical mode.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// The value represents minimum size of the left side in pixels.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int LeftMinimumSize
{
get
/// The value between 0.0 and 1.0 represents size proportion of the minimum size of the left side.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double LeftMinimumRelativeSize
{
get
/// The value represents the minimum size of the right side in pixels.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int RightMinimumSize
{
get
/// The value between 0.0 and 1.0 represents size proportion of the minimum size of the right side.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double RightMinimumRelativeSize
{
get
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The Point is a struct that defines the 2D point as a pair of generic type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public struct Point : IEquatable<Point>
{
/// <summary>
/// Location along the horizontal axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int X;
/// <summary>
/// Location along the vertical axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Y;
/// <summary>
/// </summary>
/// <returns>The string is formatted as "{{X={0} Y={1}}}".</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string ToString()
{
return string.Format("{{X={0} Y={1}}}", X, Y);
/// </summary>
/// <returns>The hash code.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
{
unchecked
/// otherwise false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
{
if (!(obj is Point))
/// otherwise false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Equals(Point other)
{
return X.Equals(other.X) && Y.Equals(other.Y);
/// <param name="p2">A <see cref="Point"/> on the right hand side.</param>
/// <returns>True if both <see cref="Point"/>s have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator ==(Point p1, Point p2)
{
return p1.Equals(p2);
/// <param name="p2">A <see cref="Point"/> on the right hand side.</param>
/// <returns>True if both <see cref="Point"/>s do not have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator !=(Point p1, Point p2)
{
return !p1.Equals(p2);
/// The Point3D is a struct that defines a 3D point.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public struct Point3D : IEquatable<Point3D>
{
/// <summary>
/// The X-coordinate of a 3D point.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int X;
/// <summary>
/// The Y-coordinate of a 3D point.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Y;
/// <summary>
/// The Z-coordinate of a 3D point.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Z;
/// <summary>
/// </summary>
/// <returns>The string is formatted as "{{X={0} Y={1} Z={2}}}".</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string ToString()
{
return string.Format("{{X={0} Y={1} Z={2}}}", X, Y, Z);
///
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
{
unchecked
/// otherwise false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
{
if (!(obj is Point3D))
/// otherwise, false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Equals(Point3D other)
{
return X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z);
/// <param name="p2">A <see cref="Point3D"/> on the right hand side.</param>
/// <returns>True if both <see cref="Point3D"/>s have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator ==(Point3D p1, Point3D p2)
{
return p1.Equals(p2);
/// <param name="p2">A <see cref="Point3D"/> on the right hand side.</param>
/// <returns>True if both <see cref="Point3D"/>s do not have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator !=(Point3D p1, Point3D p2)
{
return !p1.Equals(p2);
/// The Polygon is a widget that is used to draw a polygon (filled).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Polygon : EvasObject
{
/// <summary>
/// <param name="parent">The EvasObject to which the new Polygon will be attached as a child.</param>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Polygon(EvasObject parent) : base(parent)
{
}
/// <param name="y">The Y-coordinate of the new vertex.</param>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddPoint(int x, int y)
{
Interop.Evas.evas_object_polygon_point_add(Handle, x, y);
/// <param name="p">The coordinates of the new vertex.</param>
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddPoint(Point p)
{
AddPoint(p.X, p.Y);
/// Removes all the vertices of the polygon, making it empty.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ClearPoints()
{
Interop.Evas.evas_object_polygon_points_clear(Handle);
/// <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 evas = Interop.Evas.evas_object_evas_get(parent.Handle);
/// Enumeration for the popup orientation types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum PopupOrientation
{
/// <summary>
/// In addition to content area, there are two optional sections, namely title area and action area.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Popup : Layout
{
HashSet<PopupItem> _children = new HashSet<PopupItem>();
/// </summary>
/// <param name="parent">The EvasObject to which the new popup will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Popup(EvasObject parent) : base(parent)
{
_dismissed = new SmartEvent(this, "dismissed");
/// Dismissed will be triggered when the popup has been dismissed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Dismissed;
/// <summary>
/// OutsideClicked will be triggered when users taps on the outside of Popup.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler OutsideClicked;
/// <summary>
/// OutsideClicked will be triggered when the popup is closed as a result of timeout.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler TimedOut;
/// <summary>
/// OutsideClicked will be triggered when the popup transition has finished in showing.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ShowAnimationFinished;
/// <summary>
/// Sets or gets the position in which the popup will appear in its parent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public PopupOrientation Orientation
{
get
/// Popup need to wrap the content text, so not allowing WrapType.None.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WrapType ContentTextWrapType
{
get
/// the timer will be started with this value, canceling any running timer.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Timeout
{
get
/// The visible region of the popup is surrounded by a translucent region called the Blocked event area.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AllowEvents
{
get
/// Sets or gets the AlignmentX in which the popup will appear in its parent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override double AlignmentX
{
get
/// Sets or gets the AlignmentY in which the popup will appear in its parent.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override double AlignmentY
{
get
/// Gets the opacity value of the popup.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int Opacity
{
get
/// <param name="label"></param>
/// <returns>The new PopupItem which contains a label.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public PopupItem Append(string label)
{
return Append(label, null);
/// <param name="icon">The icon, which will be added into a new PopupItem. </param>
/// <returns>The new PopupItem, which contains the label and icon.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public PopupItem Append(string label, EvasObject icon)
{
PopupItem item = new PopupItem(label, icon, this);
/// When the Popup is dismissed, the "dismissed" signal will be emitted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dismiss()
{
Interop.Elementary.elm_popup_dismiss(Handle);
/// <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)
{
return Interop.Elementary.elm_popup_add(parent.Handle);
/// The PopupItem is a class that includes the icon and text.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class PopupItem : ItemObject
{
internal PopupItem(string text, EvasObject icon) : base(IntPtr.Zero)
/// Gets the text label of the popupitem. Return value is string.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text { get; internal set; }
/// <summary>
/// Gets the EvasObject icon of the popupitem.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public EvasObject Icon { get; internal set; }
}
}
/// The ProgressBar is a widget for visually representing the progress status of a given job or task.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ProgressBar : Layout
{
SmartEvent _changed;
/// </summary>
/// <param name="parent">The EvasObject to which the new ProgressBar will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ProgressBar(EvasObject parent) : base(parent)
{
_changed = new SmartEvent(this, this.RealHandle, "changed");
/// ValueChanged will be triggered when the value of the ProgressBar changes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ValueChanged;
/// <summary>
/// it animates its bar with the contents filling in constantly and back to non-filled, in a loop.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsPulseMode
{
get
/// it is interpreted as the closest of the boundary values in the range.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Value
{
get
/// Sets or gets the span value of the ProgressBar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int SpanSize
{
get
/// Sets or gets the value whether a given ProgressBar widget is horizontal.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Sets or gets the value whether a given progress bar widget's displaying values are inverted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsInverted
{
get
/// Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string UnitFormat
{
get
/// Starts a given progress bar "pulsing" animation, if its under that mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PlayPulse()
{
Interop.Elementary.elm_progressbar_pulse(RealHandle, true);
/// Stops a given progress bar "pulsing" animation, if its under that mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void StopPulse()
{
Interop.Elementary.elm_progressbar_pulse(RealHandle, false);
/// <param name="part">Part of the Progressbar.</param>
/// <returns>Value range is from 0.0 to 1.0.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double GetPartValue(string part)
{
return Interop.Elementary.elm_progressbar_part_value_get(RealHandle, part);
/// Sets or gets the general or main color of the given Progressbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color Color
{
get
/// <param name="part">Part of the Progressbar.</param>
/// <param name="value">Value range is from 0.0 to 1.0.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartValue(string part, double value)
{
Interop.Elementary.elm_progressbar_part_value_set(RealHandle, part, value);
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The Radio is a widget that allows for 1 or more options to be displayed, and have the user choose only 1 of them.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Radio : Layout
{
SmartEvent _changed;
/// </summary>
/// <param name="parent">The EvasObject to which the new Radio will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Radio(EvasObject parent) : base(parent)
{
_changed = new SmartEvent(this, this.RealHandle, "changed");
/// ValueChanged will be triggered when value of the radio changes.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ValueChanged;
/// <summary>
/// Sets or gets a unique value to each radio button.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int StateValue
{
get
/// Sets or gets the value of the radio group.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int GroupValue
{
get
/// </summary>
/// <param name="group">Group which add radio in.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetGroup(Radio group)
{
if (group == null)
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// Enumeration for ReadingInfoType.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum ReadingInfoType
{
/// The Rect is a struct that represents the rectangular space.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[StructLayout(LayoutKind.Sequential)]
public struct Rect : IEquatable<Rect>
{
/// <param name="w">Width value.</param>
/// <param name="h">Height value.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Rect(int x, int y, int w, int h)
{
X = x;
/// Gets or sets the position of this rectangle on the X-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int X { get; set; }
/// <summary>
/// Gets or sets the position of this rectangle on the Y-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Y { get; set; }
/// <summary>
/// Gets or sets the width of this rectangle.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Width { get; set; }
/// <summary>
/// Gets or sets the height of this rectangle.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Height { get; set; }
/// <summary>
/// Gets the position of this rectangle on the X-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Left { get { return X; } }
/// <summary>
/// Gets the extent along the X-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Right { get { return X + Width; } }
/// <summary>
/// Gets the position of this rectangle on the Y-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Top { get { return Y; } }
/// <summary>
/// Gets the extent along the Y-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Bottom { get { return Y + Height; } }
/// <summary>
/// Gets the point defined by Rectangle.Left and Rectangle.Top.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point Location { get { return new Point { X = X, Y = Y }; } }
/// <summary>
/// Gets the extent of the rectangle along its X-axis and Y-axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size Size { get { return new Size { Width = Width, Height = Height }; } }
/// <summary>
/// </summary>
/// <returns>The string is formatted as "{{X={0} Y={1} Width={2} Height={3}}}".</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string ToString()
{
return string.Format("{{X={0} Y={1} Width={2} Height={3}}}", X, Y, Width, Height);
/// </summary>
/// <returns>The hash code.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
{
unchecked
/// otherwise false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
{
if (!(obj is Rect))
/// otherwise, false
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Equals(Rect other)
{
return X.Equals(other.X) && Y.Equals(other.Y) && Width.Equals(other.Width) && Height.Equals(other.Height);
/// <param name="r2">A <see cref="Rect"/> on the right hand side.</param>
/// <returns>True if both <see cref="Rect"/>'s have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator ==(Rect r1, Rect r2)
{
return r1.Equals(r2);
/// <param name="r2">A <see cref="Rect"/> on the right hand side.</param>
/// <returns>True if both <see cref="Rect"/>'s do not have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator !=(Rect r1, Rect r2)
{
return !r1.Equals(r2);
/// The Rectangle is a class that is used to draw a solid colored rectangle.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Rectangle : EvasObject
{
/// <summary>
/// </summary>
/// <param name="parent">The <see cref="EvasObject"/> to which the new slider will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Rectangle(EvasObject parent) : base(parent)
{
Interop.Evas.evas_object_size_hint_weight_set(Handle, 1.0, 1.0);
/// <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 evas = Interop.Evas.evas_object_evas_get(parent.Handle);
/// Enumeration for the visible type of scrollbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ScrollBarVisiblePolicy
{
/// <summary>
/// Enumeration for the visible type of scrollbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ScrollBlock
{
/// <summary>
/// Type that controls how the content is scrolled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ScrollSingleDirection
{
/// <summary>
/// The Scroller is a container that holds and clips a single object and allows you to scroll across it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Scroller : Layout
{
SmartEvent _scroll;
/// </summary>
/// <param name="parent">The <see cref="EvasObject"/> to which the new Scroller will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Scroller(EvasObject parent) : base(parent)
{
}
/// Creates and initializes a new instance of the Scroller class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Scroller() : base()
{
}
/// Scrolled will be triggered when the content has been scrolled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Scrolled
{
add
/// ScrollAnimationStarted will be triggered when the content animation has been started.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ScrollAnimationStarted
{
add
/// ScrollAnimationStopped will be triggered when the content animation has been stopped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ScrollAnimationStopped
{
add
/// DragStart will be triggered when dragging the contents around has started.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler DragStart
{
add
/// DragStop will be triggered when dragging the contents around has stopped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler DragStop
{
add
/// PageScrolled will be triggered when the visible page has changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler PageScrolled
{
add
/// Gets the current region in the content object that is visible through the scroller.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Rect CurrentRegion
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual ScrollBarVisiblePolicy HorizontalScrollBarVisiblePolicy
{
get
/// ScrollBarVisiblePolicy.Visible turns it on all the time, and ScrollBarVisiblePolicy.Invisible always keeps it off.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual ScrollBarVisiblePolicy VerticalScrollBarVisiblePolicy
{
get
/// The default value is ScrollBlock.None, where movements are allowed in both directions.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScrollBlock ScrollBlock
{
get
/// The page number starts from 0. 0 is the first page.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalPageIndex
{
get
/// The page number starts from 0. 0 is the first page.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int HorizontalPageIndex
{
get
/// Sets or gets the maximum limit of the movable page at vertical direction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalPageScrollLimit
{
get
/// Sets or gets the maximum limit of the movable page at horizontal direction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int HorizontalPageScrollLimit
{
get
/// This API will set if it is enabled for the given axis with the boolean parameters for each axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool VerticalBounce
{
get
/// This API will set if it is enabled for the given axis with the boolean parameters for each axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool HorizontalBounce
{
get
/// Gets the width of the content object of the scroller.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ChildWidth
{
get
/// Gets the height of the content object of the scroller.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ChildHeight
{
get
/// Default values for x and y are 0.0.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double HorizontalGravity
{
get
/// Default values for x and y are 0.0.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double VerticalGravity
{
get
/// The page number starts from 0. 0 is the first page. This returns the last page number among the pages.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int LastVerticalPageNumber
{
get
/// The page number starts from 0. 0 is the first page. This returns the last page number among the pages.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int LastHorizontalPageNumber
{
get
/// If the content is set, it will be shown repeatedly.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool VerticalLoop
{
get
/// If the content is set, it will be shown repeatedly.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool HorizontalLoop
{
get
/// Gets or sets a given scroller widget's scrolling page size, relative to its viewport size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double VerticalRelativePageSize
{
get
/// Gets or sets a given scroller widget's scrolling page size, relative to its viewport size.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double HorizontalRelativePageSize
{
get
/// This function will set if it that is enabled or not, for each axis.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool VerticalSnap
{
get
/// This function will set if it that is enabled or not, for each axis.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool HorizontalSnap
{
get
/// Gets or sets the page size to an absolute fixed value, with 0 turning it off for that axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int PageHeight
{
get
/// Gets or sets the page size to an absolute fixed value, with 0 turning it off for that axis.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int PageWidth
{
get
/// By default, event propagation is enabled.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ContentPropagateEvents
{
get
/// Gets or sets the step size to move scroller by key event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int HorizontalStepSize
{
get
/// Gets or sets the step size to move scroller by key event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int VerticalStepSize
{
get
/// Gets or sets a value whether mouse wheel is enabled or not over the scroller.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool WheelDisabled
{
get
/// Gets or sets the type of single direction scroll.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScrollSingleDirection SingleDirection
{
get
/// <param name="horizontal">Enable limiting minimum size horizontally.</param>
/// <param name="vertical">Enable limiting minimum size vertically.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MinimumLimit(bool horizontal, bool vertical)
{
Interop.Elementary.elm_scroller_content_min_limit(RealHandle, horizontal, vertical);
/// <param name="width">The horizontal page size.</param>
/// <param name="height">The vertical page size.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPageSize(int width, int height)
{
Interop.Elementary.elm_scroller_page_size_set(RealHandle, width, height);
/// <param name="width">The horizontal page relative size.</param>
/// <param name="height">The vertical page relative size.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPageSize(double width, double height)
{
Interop.Elementary.elm_scroller_page_relative_set(RealHandle, width, height);
/// <param name="verticalPageIndex">The vertical page number.</param>
/// <param name="animated">True means slider with animation.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ScrollTo(int horizontalPageIndex, int verticalPageIndex, bool animated)
{
if (animated)
/// <param name="region">Rect struct of region.</param>
/// <param name="animated">True means allows the scroller to "smoothly slide" to this location.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void ScrollTo(Rect region, bool animated)
{
if (animated)
/// The callback of the Realized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The Size is a struct defining the height and width as a pair of generic type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public struct Size : IEquatable<Size>
{
/// <summary>
/// Magnitude along the horizontal axis, in platform-defined units.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Width;
/// <summary>
/// Magnitude along the vertical axis, in platform-specific units.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Height;
/// <summary>
/// <param name="width">The width to set.</param>
/// <param name="height">The height to set.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size(int width, int height)
{
Width = width;
/// </summary>
/// <returns>The string is formatted as "{{Width={0} Height={1}}}".</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string ToString()
{
return string.Format("{{Width={0} Height={1}}}", Width, Height);
/// </summary>
/// <returns>The hash code.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
{
unchecked
/// otherwise false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
{
if (!(obj is Size))
/// otherwise false.
/// </returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Equals(Size other)
{
return Width.Equals(other.Width) && Height.Equals(other.Height);
/// <param name="s2">A <see cref="Size"/> on the right hand side.</param>
/// <returns>True if both <see cref="Size"/>s have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator ==(Size s1, Size s2)
{
return s1.Equals(s2);
/// <param name="s2">A <see cref="Size"/> on the right hand side.</param>
/// <returns>True if both <see cref="Size"/>s do not have equal values.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator !=(Size s1, Size s2)
{
return !s1.Equals(s2);
/// Enumeration for the Slider's indicator visiblity mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum SliderIndicatorVisibleMode
{
/// <summary>
/// The Slider is a widget that adds a draggable slider widget for selecting the value of something within a range.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Slider : Layout
{
double _minimum = 0.0;
/// </summary>
/// <param name="parent">The <see cref="EvasObject"/> to which the new slider will be attached as a child.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Slider(EvasObject parent) : base(parent)
{
_changed = new SmartEvent(this, this.RealHandle, "changed");
/// ValueChanged will be triggered when the Slider value is changed by the user.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ValueChanged;
/// <summary>
/// so it avoids possibly expensive reactions to the value change.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler DelayedValueChanged;
/// <summary>
/// DragStarted will be triggered when dragging the Slider indicator around has started.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler DragStarted;
/// <summary>
/// DragStopped will be triggered when dragging the Slider indicator around has stopped.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler DragStopped;
/// <summary>
/// (like weight and alignment hints), and you would like it to have a specific size.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int SpanSize
{
get
/// equal to 3.14159. By default, the indicator label is disabled.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string IndicatorFormat
{
get
/// The orientation may be vertical or horizontal. By default, it's displayed horizontally.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsHorizontal
{
get
/// Actual value can be obtained with value. By default, the minimum is equal to 0.0.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Minimum
{
get
/// Maximum must be greater than minimum, otherwise the behavior is undefined.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Maximum
{
get
/// on indicator with IndicatorFormat. The value must be between minimum and maximum values.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Value
{
get
/// By default, the step value is equal to 0.05.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Step
{
get
/// respectively, for the horizontal and vertical modes.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsInverted
{
get
/// It won't display the values set with IndicatorFormat if you disable the indicator.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsIndicatorVisible
{
get
/// Sets or gets the visible mode of the slider indicator.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public SliderIndicatorVisibleMode IndicatorVisibleMode
{
get
/// Sets or gets whether to show the indicator of a slider on focus.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsIndicatorFocusable
{
get
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// </summary>
/// <typeparam name="TEventArgs">The parameter for the event.</typeparam>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class SmartEvent<TEventArgs> : IInvalidatable where TEventArgs : EventArgs
{
/// <summary>
/// <param name="info">The item sender object.</param>
/// <returns>Return smart event item args.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public delegate TEventArgs SmartEventInfoParser(IntPtr data, IntPtr obj, IntPtr info);
private EvasObject _sender;
/// <param name="eventName">The event name.</param>
/// <param name="parser">The event parameter.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public SmartEvent(EvasObject sender, string eventName, SmartEventInfoParser parser) : this(sender, sender.Handle, eventName, parser)
{
}
/// <param name="eventName">The event name.</param>
/// <param name="parser">The event parser.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SmartEvent(EvasObject sender, IntPtr handle, string eventName, SmartEventInfoParser parser)
{
/// <param name="sender">The source of the event.</param>
/// <param name="eventName">The event name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public SmartEvent(EvasObject sender, string eventName) : this(sender, eventName, null)
{
}
/// Adds or removes a delegate for the event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<TEventArgs> On
{
add
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// Makes the current instance invalidate.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MakeInvalidate()
{
_sender = null;
/// otherwise false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (disposing)
/// They are defined by an event string, which identifies them uniquely.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class SmartEvent : IInvalidatable
{
private SmartEvent<EventArgs> _smartEvent;
/// <param name="sender">The source of the event.</param>
/// <param name="eventName">The event name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public SmartEvent(EvasObject sender, string eventName) : this(sender, sender.RealHandle, eventName)
{
}
/// <param name="handle">The event handler.</param>
/// <param name="eventName">The event name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SmartEvent(EvasObject sender, IntPtr handle, string eventName)
{
/// Adds or removes a delegate for the event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler On
{
add
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// Makes the current instance invalidate.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void MakeInvalidate()
{
_smartEvent.MakeInvalidate();
/// otherwise false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (disposing)
/// Inherits <see cref="Layout"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Spinner : Layout
{
double _minimum = 0.0;
/// </summary>
/// <param name="parent">The parent of new Spinner instance</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Spinner(EvasObject parent) : base(parent)
{
if (Elementary.GetProfile() == "tv")
/// Creates and initializes a new instance of the Layout class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Spinner() : base()
{
}
/// ValueChanged will be triggered whenever the spinner value is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ValueChanged;
/// <summary>
/// DelayedValueChanged will be triggered after a short time when the value is changed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler DelayedValueChanged;
/// <summary>
/// Sets or gets the label format of the spinner.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string LabelFormat
{
get
/// Sets or gets the minimum value for the spinner.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Minimum
{
get
/// Sets or gets the maximum value for the spinner.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Maximum
{
get
/// Sets or gets the step that is used to increment or decrement the spinner value.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Step
{
get
/// Sets or gets the value displayed by the spinner.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Value
{
get
/// Sets or gets the interval on time updates for a user mouse button to hold on the spinner widgets' arrows.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Interval
{
get
/// Sets or gets the base for rounding.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double RoundBase
{
get
/// Sets or gets the round value for rounding.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int RoundValue
{
get
/// By default, it's disabled.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsWrapEnabled
{
get
/// </summary>
/// <remarks>By default, it is enabled.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsEditable
{
get
/// <param name="value">The numerical value to be replaced</param>
/// <param name="label">The label to be used</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddSpecialValue(double value, string label)
{
Interop.Elementary.elm_spinner_special_value_add(RealHandle, value, label);
/// </summary>
/// <param name="value">The replaced numerical value.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void RemoveSpecialValue(double value)
{
Interop.Elementary.elm_spinner_special_value_del(RealHandle, value);
/// <param name="value">The replaced numerical value.</param>
/// <returns>The value of the spinner, which replaced the numerical value with a special string.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string GetSpecialValue(double value)
{
return Interop.Elementary.elm_spinner_special_value_get(RealHandle, value);
/// The callback of the Realized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// Inherits <see cref="Container"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Table : Container
{
int _paddingX = 0;
/// A <see cref="EvasObject"/> to which the new Table instance will be attached.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Table(EvasObject parent) : base(parent)
{
}
/// </summary>
/// <remarks>True for homogeneous, False for no homogeneous.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Homogeneous
{
get
/// Sets or gets the horizontal padding between the cells.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int PaddingX
{
get
/// Sets or gets the vertical padding between the cells.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int PaddingY
{
get
/// <param name="colspan">The column span.</param>
/// <param name="rowspan">The row span.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Pack(EvasObject obj, int col, int row, int colspan, int rowspan)
{
if (obj == null)
/// </summary>
/// <param name="obj">The subobject.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Unpack(EvasObject obj)
{
if (obj == null)
/// Removes all the child objects from a table object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Clear()
{
Interop.Elementary.elm_table_clear(RealHandle, false);
/// <param name="part">The name of part class.</param>
/// <param name="color">The color.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override void SetPartColor(string part, Color color)
{
Interop.Elementary.elm_object_color_class_color_set(Handle, part, color.R * color.A / 255,
/// <param name="part">The name of part class, it could be 'bg', 'elm.swllow.content'.</param>
/// <returns>The color of a particular part.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override Color GetPartColor(string part)
{
int r, g, b, a;
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// Enumeration for the selection mode of the toolbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ToolbarSelectionMode
{
/// <summary>
/// Enumeration for setting the toolbar items display behavior, it can be scrollable, can show a menu with exceeding items, or simply hide them.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ToolbarShrinkMode
{
/// <summary>
/// Enumeration for the icon lookup order of the toolbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ToolbarIconLookupOrder
{
/// <summary>
/// Inherits EventArgs.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ToolbarItemEventArgs : EventArgs
{
/// <summary>
/// Gets the ToolbarItem.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem Item { get; private set; }
internal static ToolbarItemEventArgs CreateFromSmartEvent(IntPtr data, IntPtr obj, IntPtr info)
/// The Toolbar is a widget that displays a list of items inside a box.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Toolbar : Widget
{
SmartEvent<ToolbarItemEventArgs> _clicked;
/// A EvasObject to which the new Table instance will be attached.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Toolbar(EvasObject parent) : base(parent)
{
_selected = new SmartEvent<ToolbarItemEventArgs>(this, this.RealHandle, "selected", ToolbarItemEventArgs.CreateFromSmartEvent);
/// Selected will be triggered when toolbar has been selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler<ToolbarItemEventArgs> Selected;
/// <summary>
/// </summary>
/// <remarks>True for homogeneous, False for no homogeneous.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Homogeneous
{
get
/// Sets or gets the slection mode of a given Toolbar widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarSelectionMode SelectionMode
{
get
/// Sets or gets the shrink mode of a given Toolbar widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarShrinkMode ShrinkMode
{
get
/// Sets or gets the toolbar's current orientation.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool IsHorizontal
{
/// Icons added before calling this function will not be affected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarIconLookupOrder IconLookupOrder
{
get
/// Default value is 32 pixels, to be used by toolbar items.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int IconSize
{
get
/// Gets the number of items in a Toolbar widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ItemsCount
{
get
/// </summary>
/// <remarks>The toolbar items alignment, a float between 0.0 and 1.0.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double ItemAlignment
{
get
/// By default it's false.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool TransverseExpansion
{
get
/// <seealso cref="Append(string, string)"/>
/// <seealso cref="Prepend(string)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem Append(string label)
{
return Append(label, null);
/// <seealso cref="Prepend(string)"/>
/// <seealso cref="Prepend(string, string)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem Append(string label, string icon)
{
ToolbarItem item = new ToolbarItem(label, icon, this);
/// <seealso cref="Append(string, string)"/>
/// <seealso cref="Prepend(string, string)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem Prepend(string label)
{
return Prepend(label, null);
/// <seealso cref="Append(string, string)"/>
/// <seealso cref="Prepend(string)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem Prepend(string label, string icon)
{
ToolbarItem item = new ToolbarItem(label, icon, this);
/// <returns>The new <see cref="ToolbarItem"/> which is inserted into the toolbar.</returns>
/// <seealso cref="InsertBefore(ToolbarItem, string, string)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem InsertBefore(ToolbarItem before, string label)
{
return InsertBefore(before, label, string.Empty);
/// <returns>The new <see cref="ToolbarItem"/> which is inserted into the toolbar.</returns>
/// <seealso cref="InsertBefore(ToolbarItem, string)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem InsertBefore(ToolbarItem before, string label, string icon)
{
ToolbarItem item = new ToolbarItem(label, icon, this);
/// <param name="icon">A string with the icon name or the absolute path of an image file.</param>
/// <returns>The new <see cref="ToolbarItem"/> which is inserted into the toolbar.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem InsertAfter(ToolbarItem after, string label, string icon)
{
ToolbarItem item = new ToolbarItem(label, icon, this);
/// <param name="label">The label of the item.</param>
/// <returns>The <see cref="ToolbarItem"/> into the toolbar.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem FindItemByLabel(string label)
{
IntPtr handle = Interop.Elementary.elm_toolbar_item_find_by_label(RealHandle, label);
/// Gets the selected ToolbarItemItem of the toolbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem SelectedItem
{
get
/// Gets the first ToolbarItemItem of the toolbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem FirstItem
{
get
/// Gets the last ToolbarItemItem of the toolbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ToolbarItem LastItem
{
get
/// <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 = Interop.Elementary.elm_layout_add(parent.Handle);
/// The ToolbarItem is an item of the toolbar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ToolbarItem : ItemObject
{
string _icon;
/// Sets or gets the icon path of the item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Icon
{
get
/// Sets or gets the text string of the item.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Text
{
get
/// </summary>
/// <remarks>Items aren't set as a separator by default. If set as a separator, it displays a separator theme, so it won't display the icons or labels.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSeparator
{
get
/// Sets or gets whether the item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsSelected
{
get
/// Selected will be triggered when the item is selected.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Selected;
/// <summary>
/// LongPressed will be triggered when the item is pressed for a long time.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler LongPressed;
/// <summary>
/// Clicked will be triggered when the item is clicked.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Clicked;
internal void SendSelected()
/// </summary>
/// <remarks>Transit is not reusable. If the effect ends, the transit is destroyed automatically.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Transit : IDisposable
{
IntPtr _handle = IntPtr.Zero;
/// A callback is called when the transit is deleted.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Deleted;
/// <summary>
/// Creates and initializes a new instance of the Transit class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Transit()
{
_handle = Interop.Elementary.elm_transit_add();
/// Gets or sets the transit animation time.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Duration
{
get
/// If it is not kept, the objects states will be reset when the transition ends.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ObjectStateKeep
{
get
/// Gets or sets the transit animation acceleration type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public TweenMode TweenMode
{
get
/// If the repeat is a negative number, it will repeat infinite times.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Repeat
{
get
/// Gets or sets if auto reverse is on.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoReverse
{
get
/// Gets or sets the event enabled when transit is operating.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool EventEnabled
{
get
/// This gets the smooth scaling for transit map rendering.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Smooth
{
get
/// It represents the progression position relative to the total.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Progress
{
get
/// </summary>
/// <returns>A factor value from 0.0 to 1.0.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double BeginAccelerationFactor
{
get
/// </summary>
/// <returns>A factor value from 0.0 to 1.0.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double EndAccelerationFactor
{
get
/// </summary>
/// <param name="interval">The interval value in seconds.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Go(double interval = 0)
{
if (interval == 0)
/// Pauses the transition.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Pause()
{
if (Interop.Elementary.elm_transit_paused_get(_handle) == false)
/// Resumes the transition.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Resume()
{
if (Interop.Elementary.elm_transit_paused_get(_handle) == true)
/// </summary>
/// <remarks>Cannot add the duplicate transit.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IList<Transit> Chains
{
get { return _chains; }
/// </summary>
/// <remarks>Cannot add the duplicate object.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IList<EvasObject> Objects
{
get { return _objects; }
/// </summary>
/// <param name="effect">EffectBase object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddEffect(EffectBase effect)
{
IntPtr _effect = effect.CreateEffect(_handle);
/// Destroys the current object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Dispose()
{
Dispose(true);
/// otherwise false.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
{
if (_isDisposed)
/// Enumeration for the axis along which flip effect should be applied.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum FlipAxis
{
/// <summary>
/// Enumeration for the direction in which the wipe effect should occur.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum WipeDirection
{
/// <summary>
/// Enumeration for whether the wipe effect should show or hide the object.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum WipeType
{
/// <summary>
/// Enumration for the type of acceleration used in transition.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum TweenMode
{
/// <summary>
/// Blend effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class BlendEffect : EffectBase
{
/// <summary>
/// Creates and initializes a new instance of the BlendEffect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public BlendEffect()
{
}
/// Color effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ColorEffect : EffectBase
{
Color _begin;
/// <param name="beginColor">The begin color of the effect.</param>
/// <param name="endColor">The end color of the effect.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ColorEffect(Color beginColor, Color endColor)
{
_begin = beginColor;
/// The begin color of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color BeginColor
{
get { return _begin; }
/// The end color of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Color EndColor
{
get { return _end; }
/// Fade effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FadeEffect : EffectBase
{
/// <summary>
/// Creates and initializes a new instance of the FadeEffect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FadeEffect()
{
}
/// Flip effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class FlipEffect : EffectBase
{
FlipAxis _axis;
/// <param name="clockWise">Flipping Direction. True is clockwise.</param>
/// <param name="resizable">Resizable effect with FlipEffect.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipEffect(FlipAxis axis, bool clockWise, bool resizable = false)
{
_axis = axis;
/// Flipping axis (X or Y).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public FlipAxis Axis
{
get { return _axis; }
/// Flipping direction. True is clockwise.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ClockWise
{
get { return _clockWise; }
/// Resizable FlipEffect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Resizable
{
get { return _resizable; }
/// Resizing effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ResizingEffect : EffectBase
{
Size _begin;
/// <param name="beginSize">The begin size of the effect.</param>
/// <param name="endSize">The end size of the effect.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ResizingEffect(Size beginSize, Size endSize)
{
_begin = beginSize;
/// The begin size of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size BeginSize
{
get { return _begin; }
/// The end size of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size EndSize
{
get { return _end; }
/// Rotation effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class RotationEffect : EffectBase
{
float _begin;
/// <param name="beginDegree">The begin degree of the effect.</param>
/// <param name="endDegree">The end degree of the effect.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public RotationEffect(float beginDegree, float endDegree)
{
_begin = beginDegree;
/// The begin degree of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public float BeginDegree
{
get { return _begin; }
/// The end degree of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public float EndDegree
{
get { return _end; }
/// Translation effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class TranslationEffect : EffectBase
{
Point _begin;
/// <param name="beginPoint">The begin point of the effect.</param>
/// <param name="endPoint">The end point of the effect.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public TranslationEffect(Point beginPoint, Point endPoint)
{
_begin = beginPoint;
/// The begin point of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point BeginPoint
{
get { return _begin; }
/// The end point of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point EndPoint
{
get { return _end; }
/// Wipe effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class WipeEffect : EffectBase
{
WipeType _type;
/// <param name="type">Wipe type. Hide or show.</param>
/// <param name="direction">Wipe direction.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WipeEffect(WipeType type, WipeDirection direction)
{
_type = type;
/// Wipe type. Hide or show.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WipeType Type
{
get { return _type; }
/// Wipe direction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WipeDirection Direction
{
get { return _direction; }
/// Zoom effect class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class ZoomEffect : EffectBase
{
float _begin;
/// <param name="beginRate">The begin rate of the effect.</param>
/// <param name="endRate">The end rate of the effect.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ZoomEffect(float beginRate, float endRate)
{
_begin = beginRate;
/// The begin rate of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public float BeginRate
{
get { return _begin; }
/// The end rate of the effect.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public float EndRate
{
get { return _end; }
* limitations under the License.
*/
+using System;
+
namespace ElmSharp
{
/// <summary>
/// This class is a static class for utility methods.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static class Utility
{
/// <summary>
/// </summary>
/// <param name="path">The new font path.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void AppendGlobalFontPath(string path)
{
Interop.Evas.evas_font_path_global_append(path);
/// </summary>
/// <param name="path">The new font path.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void PrependEvasGlobalFontPath(string path)
{
Interop.Evas.evas_font_path_global_prepend(path);
/// Removes all font paths loaded into the memory by evas_font_path_app_* APIs for the application.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void ClearEvasGlobalFontPath()
{
Interop.Evas.evas_font_path_global_clear();
/// Reinitialize FontConfig.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void FontReinit()
{
Interop.Evas.evas_font_reinit();
/// <param name="shadowAlpha">Shadow alpha value.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool SetEdjeColorClass(string colorClass, int red, int green, int blue, int alpha, int outlineRed, int outlineGreen, int outlineBlue, int outlineAlpha,
- int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha)
+ int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha)
{
return Interop.Elementary.edje_color_class_set(colorClass, red, green, blue, alpha, outlineRed, outlineGreen, outlineBlue, outlineAlpha, shadowRed, shadowGreen, shadowBlue, shadowAlpha);
}
/// <param name="shadowAlpha">Shadow alpha value.</param>
/// <returns></returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool GetEdjeColorClass(string colorClass, out int red, out int green, out int blue, out int alpha, out int outlineRed, out int outlineGreen, out int outlineBlue,
- out int outlineAlpha, out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha)
+ out int outlineAlpha, out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha)
{
return Interop.Elementary.edje_color_class_get(colorClass, out red, out green, out blue, out alpha, out outlineRed, out outlineGreen, out outlineBlue, out outlineAlpha,
out shadowRed, out shadowGreen, out shadowBlue, out shadowAlpha);
/// This function triggers the processing of messages addressed to any (alive) edje objects.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void ProcessEdjeMessageSignal()
{
Interop.Elementary.edje_message_signal_process();
/// <param name="size">The font size.</param>
/// <returns>True on success, or False on error.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool SetEdjeTextClass(string textClass, string font, int size)
{
return Interop.Elementary.edje_text_class_set(textClass, font, size);
/// <param name="size">The font size.</param>
/// <returns>True on success, or False on error.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool GetEdjeTextClass(string textClass, out string font, out int size)
{
return Interop.Elementary.edje_text_class_get(textClass, out font, out size);
/// </summary>
/// <param name="textClass">The text class name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void DeleteEdjeTextClass(string textClass)
{
Interop.Elementary.edje_text_class_del(textClass);
/// <param name="green">The green component of the color.</param>
/// <param name="blue">The blue component of the color.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void PremulityplyEvasColorByAlpha(int alpha, ref int red, ref int green, ref int blue)
{
Interop.Evas.evas_color_argb_premul(alpha, ref red, ref green, ref blue);
/// <param name="green">The green component of the color.</param>
/// <param name="blue">The blue component of the color.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static void UnPremulityplyEvasColorByAlpha(int alpha, ref int red, ref int green, ref int blue)
{
Interop.Evas.evas_color_argb_unpremul(alpha, ref red, ref green, ref blue);
/// Enumeration for the focus direction.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum FocusDirection
{
/// <summary>
/// Inherits from <see cref="EvasObject"/>.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public abstract class Widget : AccessibleObject
{
Dictionary<string, EvasObject> _partContents = new Dictionary<string, EvasObject>();
/// Creates and initializes a new instance of the Widget class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Widget()
{
}
/// </summary>
/// <param name="parent">The parent of the new Widget instance.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Widget(EvasObject parent) : base(parent)
{
}
/// <param name="content">The content which is put into the part.</param>
/// <param name="part">The updated part.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected void UpdatePartContents(EvasObject content, string part = "__default__")
{
_partContents[part] = content;
/// Focused will be triggered when the widget is focused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Focused;
/// <summary>
/// Unfocused will be triggered when the widget is unfocused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Unfocused;
/// <summary>
/// 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 virtual bool IsEnabled
{
get
/// Sets or gets the style of the widget.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Style
{
get
/// Gets whether this widget is focused.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFocused
{
get
/// </summary>
/// <remarks>Widgets which are meant to be interacted with by input events, are created able to be focused by default.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsFocusAllowed
{
get
/// </summary>
/// <remarks>It could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual string Text
{
get
/// </summary>
/// <remarks>It could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual Color BackgroundColor
{
get
/// </summary>
/// <remarks>It could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual int Opacity
{
get
/// Sets or gets whether a widget and its children are focusable or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AllowTreeFocus
{
get
/// Sets or gets the widget's mirrored mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsMirroredMode
{
get
/// When widget is set to automatic mode(true), it follows the system mirrored mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsAutoMirroredMode
{
get
/// </summary>
/// <param name="isFocus">Whether be focused.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetFocus(bool isFocus)
{
if (isFocus)
/// </summary>
/// <param name="isAllowFocus">true if the object can be focused, false if not(and on errors).</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AllowFocus(bool isAllowFocus)
{
Interop.Elementary.elm_object_focus_allow_set(RealHandle, isAllowFocus);
/// </summary>
/// <param name="direction">Direction to move the focus.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void FocusNext(FocusDirection direction)
{
Interop.Elementary.elm_object_focus_next(RealHandle, (int)direction);
/// <param name="next">Focus next widget.</param>
/// <param name="direction">Focus direction.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetNextFocusObject(EvasObject next, FocusDirection direction)
{
Interop.Elementary.elm_object_focus_next_object_set(RealHandle, next?.RealHandle ?? IntPtr.Zero, (int)direction);
/// <param name="content">The content.</param>
/// <seealso cref="SetPartContent(string, EvasObject, bool)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool SetPartContent(string part, EvasObject content)
{
return SetPartContent(part, content, false);
/// <param name="preserveOldContent">true, preserve old content will be unset and not be deleted. false, preserve old content will be deleted.</param>
/// <seealso cref="SetPartContent(string, EvasObject)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool SetPartContent(string part, EvasObject content, bool preserveOldContent)
{
if (preserveOldContent)
/// <param name="content">The content.</param>
/// <seealso cref="SetContent(EvasObject, bool)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetContent(EvasObject content)
{
SetContent(content, false);
/// <param name="preserveOldContent">true, preserve old content will be unset and not be deleted. false, preserve old content will be deleted.</param>
/// <seealso cref="SetContent(EvasObject)"/>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetContent(EvasObject content, bool preserveOldContent)
{
if (preserveOldContent)
/// <param name="part">The name of the particular part.</param>
/// <param name="text">The text.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual bool SetPartText(string part, string text)
{
Interop.Elementary.elm_object_part_text_set(RealHandle, part, text);
/// <param name="part">The name of the particular part.</param>
/// <returns>Text of the particular part of the widget.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual string GetPartText(string part)
{
return Interop.Elementary.elm_object_part_text_get(RealHandle, part);
/// <param name="color">The color to be set to the widget.</param>
/// <remarks>This method is a virtual method, it could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual void SetPartColor(string part, Color color)
{
Interop.Elementary.elm_object_color_class_color_set(RealHandle, part, color.R * color.A / 255,
/// <returns>The color of the particular part.</returns>
/// <remarks>This method is a virtual method, it could be overridden by special child class.</remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public virtual Color GetPartColor(string part)
{
int r, g, b, a;
/// <param name="part">The name of the particular part.</param>
/// <param name="opacity">The opacity of the particular part.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetPartOpacity(string part, int opacity)
{
Interop.Elementary.elm_object_color_class_color_set(Handle, part, 255, 255, 255, opacity);
/// <param name="part">The name of the particular part.</param>
/// <returns>Opacity value of the particular part.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int GetPartOpacity(string part)
{
int r, g, b, a;
return a;
}
- /// <summary>
+ /// <summary>
/// Sends a signal to the edje object of the widget.
/// </summary>
/// <param name="emission">The signal's name.</param>
/// <param name="source">The signal's source.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SignalEmit(string emission, string source)
{
Interop.Elementary.elm_object_signal_emit(Handle, emission, source);
/// The callback of the Realized event.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
/// Enumeration for the display rotation of window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[Flags]
public enum DisplayRotation
{
/// Enumeration for the indicator opacity.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum StatusBarMode
{
/// <summary>
/// Enumeration for the keygrab modes of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum KeyGrabMode
{
/// Enumeration for the indicator mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum IndicatorMode
{
/// <summary>
/// Enumeration for the keyboard mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum KeyboardMode
{
/// <summary>
/// Enumeration for the window type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum WindowType
{
/// <summary>
/// Enumeration of notification window's priority level.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum NotificationLevel
{
/// <summary>
/// Enumeration of screen mode.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum ScreenMode
{
/// <summary>
/// The Window is a container that contains the graphical user interface of a program.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public class Window : Widget
{
SmartEvent _deleteRequest;
/// </summary>
/// <param name="name">Window name.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Window(string name) : this(null, name)
{
}
/// and set callback when window rotation is changed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Window(Window parent, string name) : this(parent, name, WindowType.Basic)
{
}
/// and set callback when window rotation is changed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Window(Window parent, string name, WindowType type)
{
Name = name;
/// Creates and initializes a new instance of the Window class.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected Window()
{
}
/// CloseRequested will be triggered when window is closed.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler CloseRequested;
/// <summary>
/// RotationChanged will be triggered when window is rotated.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler RotationChanged;
/// <summary>
/// Sets or gets the window name.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Name { get; set; }
/// <summary>
/// Gets the window type.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public WindowType Type { get; } = WindowType.Basic;
/// <summary>
/// Gets the window size with Size value(w,h)
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size ScreenSize
{
get
/// Gets the screen dpi for the screen that the window is on.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Point ScreenDpi
{
get
/// Gets the rotation of the window. The rotation of the window in degrees (0-360).
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Rotation
{
get
/// Gets whether the window manager supports window rotation or not.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool IsRotationSupported
{
get
/// Sets or gets the available rotation degree.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public DisplayRotation AvailableRotations
{
get
/// If auto deletion is disabled, the window is not destroyed and the program has to handle it.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoDeletion
{
get
/// If alpha is true, the alpha channel of the canvas will be enabled possibly making parts of the window completely or partially transparent.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Alpha
{
get
/// The Role will be invalid if a new role is set or if the window is destroyed.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Role
{
get
/// Sets or gets the mode of the status bar.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public StatusBarMode StatusBarMode
{
get
/// Sets or gets the iconified state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool Iconified
{
/// </summary>
/// <value>The indicator mode.</value>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public IndicatorMode IndicatorMode
{
get
/// Gets or sets the aspect ratio of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public double Aspect
{
get
/// Window's autohide state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool AutoHide
{
get
/// This function requests the Window Manager to not draw any decoration around the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Borderless
{
get
/// Gets or sets the demand attention state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool DemandAttention
{
get
/// Gets or sets the floating mode of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FloatingMode
{
get
/// This function will enable or disable the animation of focus highlight only for the given window, regardless of the global setting for it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FocusHighlightAnimation
{
get
/// This function will enable or disable the focus highlight only for the given window, regardless of the global setting for it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool FocusHighlightEnabled
{
get
/// Sets the style to use for theming the highlight of focused objects on the given window. If style is NULL, the default will be used.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string FocusHighlightStyle
{
get
/// Gets the keyboard mode of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public KeyboardMode KeyboardMode
{
get
/// and anything else means that the window will be placed in the default layer.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int Layer
{
get
/// Gets or sets the modal state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Modal
{
get
/// The noblank property may have no effect if the window is iconified/minimized or hidden.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool NoBlank
{
get
/// Gets the profile of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Profile
{
get
/// When this function returns true, object will never resize larger than the screen.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool ScreenConstrain
{
get
/// Gets or sets the base size of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size BaseSize
{
get
/// Gets or sets the step size of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public Size StepSize
{
get
/// Gets the screen position X of a window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ScreenPositionX
{
get
/// Gets the screen position Y of a window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int ScreenPositionY
{
get
/// Gets or sets the title of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public string Title
{
get
/// Gets or sets the urgent state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Urgent
{
get
/// Gets or sets the withdrawn state of the window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Withdrawn
{
get
/// This can be used for a notification type window only.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public NotificationLevel NotificationLevel
{
get
/// This needs the privilege. If the application which is not get the privilege use this API, the window manager generates the permission deny error.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public ScreenMode ScreenMode
{
get
/// This needs the privilege. If the application which is not get the privilege use this API, the window manager generates the permission deny error.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Brightness
{
get
/// <param name="systemWide">A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user ID that created the service.</param>
/// <returns>If true creates successful, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool CreateServiceSocket(string name, int number, bool systemWide)
{
return Interop.Elementary.elm_win_socket_listen(RealHandle, name, number, systemWide);
/// <param name="degree">The rotation of the window, in degrees (0-360), counter-clockwise.</param>
/// <param name="resize">Resizes the window's contents so that they fit inside the current window geometry.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetRotation(int degree, bool resize)
{
if (resize)
/// This will have no effect when used by a non-alpha window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void SetOpaqueState()
{
Interop.Eutil.efl_util_set_window_opaque_state(RealHandle, 1);
/// Unsets the alpha window's visual state to opaque state.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void UnsetOpaqueState()
{
Interop.Eutil.efl_util_set_window_opaque_state(RealHandle, 0);
/// Be careful that this may have side-effects like making the window non-accessible in some cases unless the window is specially handled. Use this with care.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void FocusSkip(bool skip)
{
Interop.Elementary.elm_win_prop_focus_skip_set(Handle, skip);
/// Places the window pointed by object at the top of the stack, so that it's not covered by any other window.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void PullUp()
{
Interop.Elementary.elm_win_raise(Handle);
/// Places the window pointed by object at the bottom of the stack, so that no other window is covered by it.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void BringDown()
{
Interop.Elementary.elm_win_lower(Handle);
/// in any way that the window is going to be the active one after it.
/// </remarks>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void Active()
{
Interop.Elementary.elm_win_activate(Handle);
/// </summary>
/// <param name="obj">Resize object.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void DeleteResizeObject(EvasObject obj)
{
Interop.Elementary.elm_win_resize_object_del(Handle, obj);
/// Resize object.
/// </param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void AddResizeObject(EvasObject obj)
{
Interop.Elementary.elm_win_resize_object_add(Handle, obj);
/// <param name="keyname">The keyname to grab.</param>
/// <param name="mode">According to the grabmode, it can grab key differently.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void WinKeyGrab(string keyname, KeyGrabMode mode)
{
/// </summary>
/// <param name="keyname">The keyname to grab.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void WinKeyUngrab(string keyname)
{
/// </summary>
/// <param name="keyname">The keyname string to set keygrab.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void KeyGrabEx(string keyname)
{
Interop.Elementary.eext_win_keygrab_set(RealHandle, keyname);
/// </summary>
/// <param name="keyname">The keyname string to unset keygrab.</param>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public void KeyUngrabEx(string keyname)
{
Interop.Elementary.eext_win_keygrab_unset(RealHandle, keyname);
/// <param name="value">The value string</param>
/// <returns>The ID of the created auxiliary hint, otherwise -1 on failure</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int AddAuxiliaryHint(string hint, string value)
{
/// <param name="id">The ID of the auxiliary hint</param>
/// <returns>If true deletes successful, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool DeleteAuxiliaryHint(int id)
{
/// <param name="value">The value string to be set</param>
/// <returns>If true changes successful, otherwise false.</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool SetAuxiliaryHintValue(int id, string value)
{
/// <param name="id">The auxiliary hint ID</param>
/// <returns>The string value of the auxiliary hint ID</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public string GetAuxiliaryHintValue(int id)
{
/// <param name="hint">The auxiliary hint string</param>
/// <returns>The ID of the auxiliary hint, otherwise -1 on failure</returns>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int GetAuxiliaryHintId(string hint)
{
/// <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)
{
Interop.Elementary.elm_config_accel_preference_set("3d");
/// Enumeration for the wrap types.
/// </summary>
/// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public enum WrapType
{
/// <summary>
/// Especially, CircularPagination provides indicators specific to wearable device.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularPagination : Control
{
/// Creates a new instance of a CircularPagination.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularPagination() : base()
{
/// Creates a new instance of a CircularPagination using style.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularPagination(CircularPaginationStyle style) : base(style)
{
/// Gets or sets the size of the indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size IndicatorSize
{
/// Gets or sets the background resource of indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Selector<string> IndicatorImageURL
{
/// Gets or sets the background resource of the center indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Selector<string> CenterIndicatorImageURL
{
/// Please refer to LeftIndicatorCount and RightIndicatorCount.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool IsSymmetrical
{
/// This value is for symmetrical indicators.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int IndicatorCount
{
/// This value can be set when IsSymmetrical API is false.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int LeftIndicatorCount
{
/// This value can be set when IsSymmetrical API is false.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int RightIndicatorCount
{
/// If no value is set, the default value is the center indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int SelectedIndex
{
/// <param name="index">Indicator index</param>
/// <returns>The position of a indicator by index</returns>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Position GetIndicatorPosition(int index)
{
/// <param name="position">The position of a indicator by index</param>
/// <exception cref="ArgumentNullException">This exception can occur by the position is null.</exception>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void SetIndicatorPosition(int index, Position position)
{
/// </summary>
/// <param name="selectOutIndicator">The indicator will be selected out</param>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected virtual void SelectOut(VisualMap selectOutIndicator)
{
/// </summary>
/// <param name="selectInIndicator">The indicator will be selected in</param>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected virtual void SelectIn(VisualMap selectInIndicator)
{
/// you can override it to create your own default style.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override ViewStyle CreateViewStyle()
{
/// </summary>
/// <param name="type">DisposeTypes</param>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
/// The CircularProgress class of Wearable is used to show the ongoing status with a circular bar.
/// CircularProgress can be counted in its percentage.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularProgress : Control
{
/// But, it also can be displayed on the button or the list for small size.
/// User can set its size.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularProgress() : base()
{
/// The constructor of the CircularProgress class with specific style.
/// </summary>
/// <param name="style">style name</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularProgress(string style) : base(style)
{
/// The constructor of the CircularProgress class with specific style.
/// </summary>
/// <param name="progressStyle">The style object to initialize the CircularProgress.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularProgress(CircularProgressStyle progressStyle) : base(progressStyle)
{
/// <summary>
/// The thickness of the track and progress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float Thickness
{
/// The property to get/set the maximum value of the CircularProgress.
/// The default value is 100.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MaxValue
{
/// The property to get/set the minimum value of the CircularProgress.
/// The default value is 0.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MinValue
{
/// The property to get/set the current value of the CircularProgress.
/// The default value is 0.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float CurrentValue
{
/// <summary>
/// The property to get/set Track object color of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TrackColor
{
/// <summary>
/// The property to get/set Progress object color of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ProgressColor
{
/// <summary>
/// Flag to be enabled or disabled in CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public new bool IsEnabled
{
/// Dispose Progress and all children on it.
/// </summary>
/// <param name="type">Dispose type.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
/// <summary>
/// Update progress value
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected virtual void UpdateValue()
{
/// Get Progress style.
/// </summary>
/// <returns>The default progress style.</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override ViewStyle CreateViewStyle()
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void OnControlStateChanged(ControlStateChangedEventArgs controlStateChangedInfo)
{
/// The CircualrScrollbar is a wearable NUI component that can be linked to the scrollable objects
/// indicating the current scroll position of the scrollable object.<br />
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularScrollbar : ScrollbarBase
{
#region Fields
/// <summary>Bindable property of Thickness</summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty ThicknessProperty = BindableProperty.Create(nameof(Thickness), typeof(float), typeof(CircularScrollbar), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
/// <summary>
/// Create an empty CircularScrollbar.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public CircularScrollbar() : base()
{
}
/// <param name="viewportLength">The length of the viewport representing the amount of visible content.</param>
/// <param name="currentPosition">The current position of the viewport in scrollable content area. This is the viewport's top position if the scroller is vertical, otherwise, left.</param>
/// <param name="isHorizontal">Whether the direction of scrolling is horizontal or not. It is vertical by default.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularScrollbar(float contentLength, float viewportLength, float currentPosition, bool isHorizontal = false) : base()
{
/// <summary>
/// Create an empty CircularScrollbar with a CircularScrollbarStyle instance to set style properties.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularScrollbar(CircularScrollbarStyle style) : base(style)
{
/// <summary>
/// The thickness of the scrollbar and track.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float Thickness
{
/// Values below 6 degrees are treated as 6 degrees.
/// Values exceeding 180 degrees are treated as 180 degrees.
/// </remarks>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float TrackSweepAngle
{
/// <summary>
/// The color of the track part.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TrackColor
{
/// <summary>
/// The color of the thumb part.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ThumbColor
{
#region Methods
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override void Initialize(float contentLength, float viewportLenth, float currentPosition, bool isHorizontal = false)
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override void Update(float contentLength, float viewportLength, float position, uint durationMs = 0, AlphaFunction alphaFunction = null)
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override void Update(float contentLength, float position, uint durationMs = 0, AlphaFunction alphaFunction = null)
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override void ScrollTo(float position, uint durationMs = 0, AlphaFunction alphaFunction = null)
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override void OnRelayout(Vector2 size, RelayoutContainer container)
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override void ApplyStyle(ViewStyle viewStyle)
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override ViewStyle CreateViewStyle()
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override float ScrollPosition
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override float ScrollCurrentPosition
{
/// <summary>
/// Value Changed event data.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularSliderValueChangedEventArgs : EventArgs
{
/// <summary>
/// Current value
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float CurrentValue
{
/// The CircularSlider class of Wearable is used to let users select a value from a continuous or discrete range of values by moving the slider thumb.
/// CircularSlider shows the current value with the length of the line.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularSlider : Control
{
/// <summary>
/// The constructor of CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularSlider() : base()
{
/// The constructor of the CircularSlider class with specific style.
/// </summary>
/// <param name="progressStyle">The style object to initialize the CircularSlider.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularSlider(CircularSliderStyle progressStyle) : base(progressStyle)
{
/// <summary>
/// The value changed event handler.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler<CircularSliderValueChangedEventArgs> ValueChanged;
/// <summary>
/// The thickness of the track and progress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float Thickness
{
/// The property to get/set the maximum value of the CircularSlider.
/// The default value is 100.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MaxValue
{
/// The property to get/set the minimum value of the CircularSlider.
/// The default value is 0.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MinValue
{
/// The property to get/set the current value of the CircularSlider.
/// The default value is 0.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float CurrentValue
{
/// <summary>
/// The property to get/set Track object color of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TrackColor
{
/// <summary>
/// The property to get/set Progress object color of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ProgressColor
{
/// <summary>
/// Gets or sets the size of the thumb of Slider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size ThumbSize
{
/// <summary>
/// The property to get/set Thumb object color of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ThumbColor
{
/// <summary>
/// Flag to be enabled or disabled in CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public new bool IsEnabled
{
/// Dispose Progress and all children on it.
/// </summary>
/// <param name="type">Dispose type.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
/// <summary>
/// Update progress value
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected virtual void UpdateValue()
{
/// Get Progress style.
/// </summary>
/// <returns>The default progress style.</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override ViewStyle CreateViewStyle()
{
/// <summary>
/// Represents an application that can make watch-face.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public class NUIWatchApplication : CoreApplication
{
/// <summary>
/// Occurs whenever the application is resumed.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Resumed;
/// <summary>
/// Occurs whenever the application is paused.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler Paused;
/// <summary>
/// Occurs at every second.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler TimeTick;
/// <summary>
/// Event arguments that passed via time tick event signal.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public class TimeTickEventArgs : EventArgs
{
private WatchTime _watchTime;
/// <summary>
/// Default Constructor.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public TimeTickEventArgs( WatchTime watchTime )
{
_watchTime = watchTime;
/// <summary>
/// WatchTime.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public WatchTime WatchTime
{
get
/// Occurs at each minute in ambient mode.
/// http://tizen.org/privilege/alarm.set privilege is needed to receive ambient ticks at each minute.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler AmbientTick;
/// <summary>
/// Event arguments that passed via ambient tick event signal.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public class AmbientTickEventArgs : EventArgs
{
private WatchTime _watchTime;
/// <summary>
/// Default Constructor.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public AmbientTickEventArgs(WatchTime watchTime)
{
_watchTime = watchTime;
/// <summary>
/// WatchTime.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public WatchTime WatchTime
{
get
/// <summary>
/// Occurs when the device enters or exits ambient mode
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler AmbientChanged;
/// <summary>
/// Event arguments that passed via ambient tick event signal.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public class AmbientChangedEventArgs : EventArgs
{
private bool _changed;
/// <summary>
/// Default Constructor.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public AmbientChangedEventArgs(bool changed)
{
_changed = changed;
/// <summary>
/// Changed.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public bool Changed
{
get
/// <summary>
/// The default constructor.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public NUIWatchApplication() : base(new NUIWatchCoreBackend())
{
}
/// <summary>
/// The constructor with stylesheet.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public NUIWatchApplication(string stylesheet) : base(new NUIWatchCoreBackend(stylesheet))
{
}
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
{
Log.Debug("NUI", "OnLocaleChanged() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnLowBattery(LowBatteryEventArgs e)
{
Log.Debug("NUI", "OnLowBattery() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnLowMemory(LowMemoryEventArgs e)
{
Log.Debug("NUI", "OnLowMemory() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
{
Log.Debug("NUI", "OnRegionFormatChanged() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnCreate()
{
// This is also required to create DisposeQueue on main thread.
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnPreCreate()
{
Log.Debug("NUI", "OnPreCreate() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnTerminate()
{
Log.Debug("NUI", "OnTerminate() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
{
Log.Debug("NUI", "OnAppControlReceived() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnPause()
{
Log.Debug("NUI", "OnPause() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnResume()
{
Log.Debug("NUI", "OnResume() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnTimeTick(TimeTickEventArgs e)
{
Log.Debug("NUI", "OnTimeTick() is called!");
/// Overrides this method if want to handle behavior.
/// </summary>
/// <privilege>http://tizen.org/privilege/alarm.set</privilege>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnAmbientTick(AmbientTickEventArgs e)
{
Log.Debug("NUI", "OnAmbientTick() is called!");
/// <summary>
/// Overrides this method if want to handle behavior.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
protected virtual void OnAmbientChanged(AmbientChangedEventArgs e)
{
Log.Debug("NUI", "OnAmbientChanged() is called!");
/// Run NUIWidgetApplication.
/// </summary>
/// <param name="args">Arguments from commandline.</param>
+ [Obsolete("This has been deprecated in API12")]
public override void Run(string[] args)
{
Backend.AddEventHandler(EventType.PreCreated, OnPreCreate);
/// <summary>
/// Exit NUIWidgetApplication.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public override void Exit()
{
Backend.Exit();
/// <summary>
/// Get the window instance.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public Window Window
{
get
/// It is attached to Window directly so that it is shown on top of all UI components.
/// Title(text) and Content(container) are initially formed and user can control them by setting properties or styles.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class Popup : Control
{
/// <summary>
/// Constructor
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Popup() : base()
{
/// Constructor with style
/// </summary>
/// <param name="style">style</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Popup(PopupStyle style) : base(style)
{
/// Dispose.
/// </summary>
/// <param name="type">Dispose type</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
/// <summary>
/// Set postion of added button
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum ButtonPosition
{
/// <summary>
/// ContentContainer
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public View ContentContainer;
/// <param name="button">Button to be added</param>
/// <param name="automaticPositioning">If set true, added button will be placed automatically</param>
/// <param name="position">Specific postion set by user</param>
+ [Obsolete("This has been deprecated in API12")]
public void AppendButton(string index, Button button, bool automaticPositioning = true, ButtonPosition position = ButtonPosition.Automatic)
{
if (button != null)
/// </summary>
/// <param name="index">Index(key) to be found</param>
/// <returns>Button of Popup</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Button GetButton(string index)
{
/// Get Title.
/// </summary>
/// <returns>Title(TextLabel) of Popup</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public TextLabel GetTitle()
{
/// </summary>
/// <param name="index">Index(key) of the content added</param>
/// <param name="content">Content to be added in Popup's content</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void AppendContent(string index, View content)
{
/// </summary>
/// <param name="index">Index(key) to be found</param>
/// <returns>Content in the Popup</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public View GetContent(string index)
{
/// </summary>
/// <param name="targetWindow">Window where Popup is placed</param>
/// <param name="animated">Posting animation</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void Post(Window targetWindow, bool animated = true)
{
/// Dismiss Popup.
/// </summary>
/// <param name="animated">True when using Dismissing event</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void Dismiss(bool animated = true)
{
/// Set timeout milli-second
/// </summary>
/// <param name="milliSecond">Automatically dissmissed after milli-second</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetTimeout(uint milliSecond)
{
/// <summary>
/// OnUpdate
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void OnUpdate()
{
/// <summary>
/// CustomAnimation
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public IPopupAnimation CustomAnimation;
/// <summary>
/// Event when outside of components(Button, Content, Title) is clicked.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler OutsideClicked;
/// <summary>
/// Event before popup is posted. Customized action such as animation can be added.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler BeforePosting;
/// <summary>
/// Event after popup is posted. Customized action such as animation can be added.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler AfterPosting;
/// <summary>
/// Event before popup is dismissed. Customized action such as animation can be added.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler BeforeDissmising;
/// <summary>
/// Event after popup is dismissed. Customized action such as animation can be added.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler AfterDissmising;
/// Get Popup style.
/// </summary>
/// <returns>The default popup style.</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override ViewStyle CreateViewStyle()
{
/// <summary>
/// PopupAnimation interface
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IPopupAnimation
{
/// ShowAnimation
/// </summary>
/// <param name="popup"></param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
void ShowAnimation(Popup popup);
/// <summary>
/// HideAnimation
/// </summary>
/// <param name="popup"></param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
void HideAnimation(Popup popup);
}
/// [Draft] This class implements a grid box layout.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class GridRecycleLayoutManager : RecycleLayoutManager
{
/// [draft ]Get/Set the number of rows in the grid
/// </summary>
/// <since_tizen> 8 </since_tizen>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int Rows
{
/// [Draft] Get/Set the number of columns in the grid
/// </summary>
/// <since_tizen> 8 </since_tizen>
- // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int Columns
{
/// This is called to find out how much container size can be.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override float CalculateLayoutOrientationSize()
{
/// </summary>
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public override void Layout(float scrollPosition)
{
int itemInGroup = LayoutOrientation == Orientation.Vertical ? Rows : Columns;
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <returns>List of RecycleItems which should be recycled.</returns>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public override List<RecycleItem> Recycle(float scrollPosition)
{
List<RecycleItem> result = new List<RecycleItem>();
/// </summary>
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public override float CalculateCandidateScrollPosition(float scrollPosition)
{
return scrollPosition;
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
public override View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
View nextFocusedView = null;
/// [Draft] This class implements a linear box layout.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class LinearRecycleLayoutManager : RecycleLayoutManager
{
/// </summary>
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public override void Layout(float scrollPosition)
{
firstVisibleItemIndex = -1;
/// This is called to find out how much container size can be.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override float CalculateLayoutOrientationSize()
{
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <returns>List of RecycleItems which should be recycled.</returns>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public override List<RecycleItem> Recycle(float scrollPosition)
{
List<RecycleItem> result = new List<RecycleItem>();
/// </summary>
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public override float CalculateCandidateScrollPosition(float scrollPosition)
{
return scrollPosition;
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
public override View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
View nextFocusedView = null;
/// Managing RecycleItem and Data for RecyclerView.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class RecycleAdapter
{
/// </summary>
/// <returns>Item for RecyclerView</returns>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual RecycleItem CreateRecycleItem()
{
/// </summary>
/// <param name="item">Reused RecycleItem which needs data binding.</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void BindData(RecycleItem item)
{
/// Notify when data of adapter is changed.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public void Notify()
{
/// Triggered when user called Notify().
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler<EventArgs> OnDataChanged;
/// Triggered when user called Notify().
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public List<object> Data
{
*/
using System.ComponentModel;
using Tizen.NUI.Components;
+using System;
namespace Tizen.NUI.Wearable
{
/// [Draft] This class provides a basic item for RecyclerView.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class RecycleItem : Control
{
/// Can access to data of RecycleAdapter using this index.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int DataIndex { get; set; } = 0;
}
using Tizen.NUI.Components;
using System.Collections.Generic;
using System.ComponentModel;
+using System;
namespace Tizen.NUI.Wearable
{
/// Lay out RecycleItem and recycle RecycleItem.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class RecycleLayoutManager
{
/// Enumeration for the direction in which the content is laid out
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public enum Orientation
{
/// Vertical
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
Vertical = 0,
/// <summary>
/// Horizontal
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
Horizontal = 1,
}
/// Container which contains RecycleItems.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public View Container { get; set; }
/// Size of RecycleItem.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size ItemSize { get; set; } = new Size();
/// Get/Set the orientation in the layout.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Orientation LayoutOrientation { get; set; } = Orientation.Vertical;
/// How far can you reach the next item.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float StepSize { get; protected set; }
/// How far can you reach the next item.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int DataCount { get; set; }
/// <summary>
/// The last scrolled position which is calculated by ScrollableBase. The value should be updated in the Recycle() method.
/// </summary>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected float PrevScrollPosition { get; set; }
/// </summary>
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void Layout(float scrollPosition)
{
/// This is called to find out how much container size can be.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual float CalculateLayoutOrientationSize()
{
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <returns>List of RecycleItems which should be recycled.</returns>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual List<RecycleItem> Recycle(float scrollPosition)
{
/// </summary>
/// <param name="scrollPosition">Scroll position which is calculated by ScrollableBase</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual float CalculateCandidateScrollPosition(float scrollPosition)
{
/// <param name="direction">The direction to move the focus towards.</param>
/// <param name="loopEnabled">Whether the focus movement should be looped within the control.</param>
/// <returns>The next keyboard focusable view in this control or an empty handle if no view can be focused.</returns>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
/// <summary>
/// [Draft] This class provides a View that can recycle items to improve performance.
/// </summary>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class RecyclerView : ScrollableBase
{
/// <summary>
/// Default constructor.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
public RecyclerView() : base()
{
Initialize(new RecycleAdapter(), new RecycleLayoutManager());
/// <param name="adapter">Recycle adapter of RecyclerView.</param>
/// <param name="layoutManager">Recycle layoutManager of RecyclerView.</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public RecyclerView(RecycleAdapter adapter, RecycleLayoutManager layoutManager)
{
/// <summary>
/// Gets / Sets total number of items.
/// </summary>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int TotalItemCount
{
/// <summary>
/// Scrolling direction mode for RecyclerView. <see cref="ScrollableBase.ScrollingDirection"/>.
/// </summary>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public new Direction ScrollingDirection
{
/// Recycler adpater.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public RecycleAdapter Adapter
{
/// Recycler layoutManager.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public RecycleLayoutManager LayoutManager
{
/// <param name="position">Scroll position which is calculated by ScrollableBase</param>
/// <returns>Adjusted scroll destination</returns>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override float AdjustTargetPositionOfScrollAnimation(float position)
{
/// <inheritdoc/>
[EditorBrowsable(EditorBrowsableState.Never)]
+ [Obsolete("This has been deprecated in API12")]
public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
View nextFocusedView = null;
/// You can also set the color of the fadeout.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class Title : TextLabel
{
/// <summary>
/// </summary>
/// <since_tizen> 8 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
static Title() { }
/// <summary>
/// Construct Title with null.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Title() : base()
{
/// </summary>
/// <param name="textLabelStyle">Construct Style</param>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Title(TextLabelStyle textLabelStyle) : base(textLabelStyle)
{
/// </summary>
/// <param name="style"> style name </param>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Title(string style) : base(style)
{
/// Sets the start and end color of the fadeout.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color FadeOutColor
{
/// Gets or Sets the width of the fadeout effect.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int FadeOutWidth
{
/// </summary>
/// <param name="type">dispose types.</param>
/// <since_tizen> 8 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
protected override void Dispose(DisposeTypes type)
{
if (disposed)
/// The WatchView is a class for displaying the watch.<br />
/// </summary>
/// <since_tizen> 6 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class WatchView : View
{
/// Creates a new WatchView.
/// </summary>
/// <since_tizen> 6 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public WatchView(Window window, string watchId, string contentInfo, int width, int height) : this(Interop.WatchView.New(Window.getCPtr(window), watchId, contentInfo, width, height), true)
{
/// </summary>
/// <returns>True on success, false otherwise.</returns>
/// <since_tizen> 6 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool PauseWatch()
{
/// </summary>
/// <returns>True on success, false otherwise.</returns>
/// <since_tizen> 6 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool ResumeWatch()
{
/// To make the Button instance be disposed.
/// </summary>
/// <since_tizen> 6 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
/// [Draft] This class provides a list view styled by wearable ux.
/// List will lay out all items with Fish-Eye layout manager.
/// </summary>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class WearableList : RecyclerView
{
/// Default constructor.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public WearableList() : base(new RecycleAdapter(), new FishEyeLayoutManager())
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void SetScrollbar()
{
}
/// <inheritdoc/>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public new RecycleAdapter Adapter
{
/// <param name="dataIndex">Data index of item.</param>
/// <param name="animated">If set true, scroll to item using animation.</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
public void SetFocus(int dataIndex, bool animated)
{
if (LayoutManager == null)
/// </summary>
/// <param name="targetPosition">Index of item.</param>
/// <since_tizen> 8 </since_tizen>
- /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API
+ [Obsolete("This has been deprecated in API12")]
protected override void OnPreReachedTargetPosition(float targetPosition)
{
if (LayoutManager == null)
using Tizen.NUI.BaseComponents;
using Tizen.NUI.Binding;
using Tizen.NUI.Components;
+using System;
namespace Tizen.NUI.Wearable
{
/// CircularPaginationStyle used to config the circularPagination represent.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularPaginationStyle : ControlStyle
{
/// Creates a new instance of a CircularPaginationStyle.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularPaginationStyle() : base()
{
/// Creates a new instance of a CircularPaginationStyle using style.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularPaginationStyle(CircularPaginationStyle style) : base(style)
{
/// Gets or sets the size of the indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size IndicatorSize
{
/// Gets or sets the resource of indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Selector<string> IndicatorImageURL
{
/// Gets or sets the resource of the center indicator.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Selector<string> CenterIndicatorImageURL
{
using Tizen.NUI.BaseComponents;
using Tizen.NUI.Binding;
using Tizen.NUI.Components;
+using System;
namespace Tizen.NUI.Wearable
{
/// <summary>
/// CircularProgressStyle is a class which saves CircularProgress's ux data.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularProgressStyle : ControlStyle
{
/// <summary>
/// Creates a new instance of a CircularProgressStyle.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularProgressStyle() : base()
{
/// Creates a new instance of a CircularProgressStyle with style.
/// </summary>
/// <param name="style">Create CircularProgressStyle by style customized by user.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularProgressStyle(CircularProgressStyle style) : base(style)
{
/// <summary>
/// The thickness of the track and progress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float? Thickness
{
/// <summary>
/// The property to get/set the maximum value of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MaxValue
{
/// <summary>
/// The property to get/set the minim value of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MinValue
{
/// <summary>
/// The property to get/set the current value of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float CurrentValue
{
/// <summary>
/// The property to get/set Track object color of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TrackColor
{
/// <summary>
/// The property to get/set Progress object color of the CircularProgress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ProgressColor
{
/// Flag to be enabled or disabled in CircularProgress.
/// </summary>
/// <since_tizen> 8 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public new bool? IsEnabled
{
get
/// Dispose CircularProgressStyle and all children on it.
/// </summary>
/// <param name="disposing">true in order to free managed objects</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(bool disposing)
{
using System.ComponentModel;
using Tizen.NUI.Components;
using Tizen.NUI.Binding;
+using System;
namespace Tizen.NUI.Wearable
{
/// <summary>
/// CircularScrollbarStyle is a class which saves CircularScrollbar's ux data.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularScrollbarStyle : ControlStyle
{
/// <summary>
/// Creates a new instance of a CircularScrollbarStyle.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularScrollbarStyle() : base()
{
/// Copy constructor.
/// </summary>
/// <param name="style">Create ScrollbarStyle by style customized by user.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularScrollbarStyle(CircularScrollbarStyle style) : base(style)
{
/// <summary>
/// The thickness of the scrollbar and track.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float? Thickness
{
/// Values below 6 degrees are treated as 6 degrees.
/// Values exceeding 180 degrees are treated as 180 degrees.
/// </remarks>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float? TrackSweepAngle
{
/// <summary>
/// The color of the track part.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TrackColor
{
/// <summary>
/// The color of the thumb part.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ThumbColor
{
using Tizen.NUI.BaseComponents;
using Tizen.NUI.Binding;
using Tizen.NUI.Components;
+using System;
namespace Tizen.NUI.Wearable
{
/// <summary>
/// CircularSliderStyle is a class which saves CircularSlider's ux data.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class CircularSliderStyle : ControlStyle
{
/// <summary>
/// Creates a new instance of a CircularSliderStyle.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularSliderStyle() : base()
{
/// Creates a new instance of a CircularSliderStyle with style.
/// </summary>
/// <param name="style">Create CircularSliderStyle by style customized by user.</param>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public CircularSliderStyle(CircularSliderStyle style) : base(style)
{
/// <summary>
/// The thickness of the track and progress.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float? Thickness
{
/// <summary>
/// The property to get/set the maximum value of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MaxValue
{
/// <summary>
/// The property to get/set the minim value of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float MinValue
{
/// <summary>
/// The property to get/set the current value of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public float CurrentValue
{
/// <summary>
/// The property to get/set Track object color of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TrackColor
{
/// <summary>
/// The property to get/set Progress object color of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ProgressColor
{
/// <summary>
/// Gets or sets the size of the thumb of Slider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size ThumbSize
{
/// <summary>
/// The property to get/set Thumb object color of the CircularSlider.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public Color ThumbColor
{
/// Flag to be enabled or disabled in CircularSlider.
/// </summary>
/// <since_tizen> 8 </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public new bool? IsEnabled
{
get
using System.ComponentModel;
using Tizen.NUI.Binding;
using Tizen.NUI.Components;
+using System;
namespace Tizen.NUI.Wearable
{
/// <summary>
/// PopupStyle used to config the Popup represent.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class PopupStyle : ControlStyle
{
/// <summary>
/// Creates a new instance of a PopupStyle.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public PopupStyle() : base()
{
/// <summary>
/// Creates a new instance of a PopupStyle using style.
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public PopupStyle(PopupStyle style) : base(style)
{
/// <summary>
/// WrapContent
/// </summary>
+ [Obsolete("This has been deprecated in API12")]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool? WrapContent
{