namespace ElmSharp
{
+ /// <summary>
+ /// 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;
private bool _currentState;
+ /// <summary>
+ /// Creates and initializes a new instance of the Check class.
+ /// </summary>
+ /// <param name="parent">
+ /// 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");
};
}
+ /// <summary>
+ /// 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>
+ /// Sets or gets whether the given check is checked or not.
+ /// </summary>
+ /// <remarks>
+ /// 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
}
}
+ /// <summary>
+ /// Creates a widget handle.
+ /// </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 handle = Interop.Elementary.elm_layout_add(parent.Handle);