LayoutFarm.SuggestionWindowMx.GetItem C# (CSharp) Method

GetItem() public method

public GetItem ( int index ) : ListItem
index int
return LayoutFarm.CustomWidgets.ListItem
        public CustomWidgets.ListItem GetItem(int index)
        {
            return this.listView.GetItem(index);
        }
        public void AddItem(CustomWidgets.ListItem item)

Usage Example

Beispiel #1
0
 void sgBox_UserConfirmSelectedItem(object sender, EventArgs e)
 {
     if (_textbox.CurrentTextSpan != null)
     {
         _textbox.ReplaceCurrentTextRunContent(_currentLocalText.Length,
                                               (string)_sgBox.GetItem(_sgBox.SelectedIndex).Tag);
         //-------------------------------------
         //then hide suggestion list
         _sgBox.ClearItems();
         _sgBox.Hide();
         //--------------------------------------
     }
 }
All Usage Examples Of LayoutFarm.SuggestionWindowMx::GetItem