System.Windows.Forms.ListBox.RefreshItems C# (CSharp) Method

RefreshItems() protected method

protected RefreshItems ( ) : void
return void
		protected override void RefreshItems ()
		{
			for (int i = 0; i < Items.Count; i++) {
				RefreshItem (i);
			}

			LayoutListBox ();
			Refresh ();
		}

Usage Example

Example #1
0
 public void Remove(object value)
 {
     items.Remove(value);
     owner.RefreshItems();
 }