namespace ElmSharp
{
/// <summary>
- /// The ToolbarItem is a item of Toolbar.
+ /// 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;
string _text;
+
internal ToolbarItem(string text, string icon) : base(IntPtr.Zero)
{
_text = text;
_icon = icon;
}
+ internal ToolbarItem(string text, string icon, EvasObject parent) : base(IntPtr.Zero, parent)
+ {
+ _text = text;
+ _icon = icon;
+ }
+
/// <summary>
/// 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
/// <summary>
/// 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>
/// Sets or gets the enable of the item.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
[Obsolete("Enabled is obsolete as of version v1.1.0-beta-023. Please use IsEnabled instead.")]
public bool Enabled
{
/// <summary>
/// Sets or gets whether displaying the item as a separator.
/// </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 icons or labels.</remarks>
+ /// <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
/// <summary>
/// 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
/// <summary>
/// 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 long time.
+ /// 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()