using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace AutocompleteMenuNS
{
///
/// Control for displaying menu items, hosted in AutocompleteMenu.
///
public interface IAutocompleteListView
{
///
/// Image list
///
ImageList ImageList { get; set; }
string[] ColumnsTitle { get; set; }
int[] ColumnsWidth { get; set; }
///
/// Index of current selected item
///
int SelectedItemIndex { get; set; }
///
/// Index of current selected item
///
int HighlightedItemIndex { get; set; }
///
/// List of visible elements
///
IList VisibleItems { get;set;}
///
/// Duration (ms) of tooltip showing
///
int ToolTipDuration { get; set; }
///
/// Occurs when user selected item for inserting into text
///
event EventHandler ItemSelected;
///
/// Occurs when current hovered item is changing
///
event EventHandler ItemHovered;
///
/// Shows tooltip
///
///
///
void ShowToolTip(AutocompleteItem autocompleteItem, Control control = null);
///
/// Hides tooltip
///
///
void HideToolTip(Control control);
///
/// Returns rectangle of item
///
Rectangle GetItemRectangle(int itemIndex);
///
/// Colors
///
Colors Colors { get; set; }
Control GetParentControl();
}
}