/// <summary> /// Initializes a new instance of the <see cref="GroepLijstItem"/> class. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public GroepLijstItem(string title, NSImage icon, ClickedDelegate clicked) { // Initialize _title = title; _icon = icon; Clicked = clicked; }
public SideBarItem(string title, ClickedDelegate clicked = null, NSImage icon = null, string tag = null) { Title = title; Icon = icon; Tag = tag; Clicked = clicked; }
/// <summary> /// Initializes a new instance of the <see cref="GroepLijstItem"/> class. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public GroepLijstItem(string title, string icon, ClickedDelegate clicked) { // Initialize _title = title; _icon = NSImage.ImageNamed(icon); Clicked = clicked; }
/// <summary> /// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public SourceListItem(string title, NSImage icon, ClickedDelegate clicked) { // Initialize this._title = title; this._icon = icon; this.Clicked = clicked; }
/// <summary> /// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public SourceListItem(string title, string icon, ClickedDelegate clicked) { // Initialize this._title = title; this._icon = NSImage.ImageNamed(icon); this.Clicked = clicked; }
/// <summary> /// Adds the item. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="tag">Tag.</param> /// <param name="clicked">Clicked.</param> public void AddItem(string title, NSImage icon, string tag, ClickedDelegate clicked) { _items.Add (new SourceListItem (title, icon, tag, clicked)); }
/// <summary> /// Adds the item. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public void AddItem(string title, string icon, ClickedDelegate clicked) { _items.Add (new SourceListItem (title, icon, clicked)); }
/// <summary> /// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="tag">Tag.</param> /// <param name="clicked">Clicked.</param> public SourceListItem (string title, NSImage icon, string tag, ClickedDelegate clicked) { // Initialize this._title = title; this._icon = icon; this._tag = tag; this.Clicked = clicked; }
/// <summary> /// Initializes a new instance of the <see cref="Rotation.SourceListItem"/> class. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public SourceListItem (string title, string icon, ClickedDelegate clicked) { // Initialize this._title = title; this._icon = NSImage.ImageNamed (icon); this.Clicked = clicked; }
/// <summary> /// Adds the item. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="tag">Tag.</param> /// <param name="clicked">Clicked.</param> public void AddItem(string title, NSImage icon, string tag, ClickedDelegate clicked) { _items.Add(new GroepLijstItem(title, icon, tag, clicked)); }
/// <summary> /// Adds the item. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public void AddItem(string title, string icon, ClickedDelegate clicked) { _items.Add(new GroepLijstItem(title, icon, clicked)); }
public void AddItem(string title, ClickedDelegate clicked, NSImage icon = null, string tag = null) { items.Add(new SideBarItem(title, clicked, icon, tag)); }
public TreeDataItem(string _name, ClickedDelegate _clicked) { this._Name = _name; this.Clicked = _clicked; }
public void AddItem(string _name, ClickedDelegate clicked) { _Items.Add(new TreeDataItem(_name, clicked)); }
/// <summary> /// Adds the item. /// </summary> /// <param name="title">Title.</param> /// <param name="icon">Icon.</param> /// <param name="clicked">Clicked.</param> public void AddItem(string title, NSImage icon, ClickedDelegate clicked) { _items.Add(new SourceListItem(title, icon, clicked)); }
void Start() { onClicked += init; }