Engines/FlatRedBallXNA/FlatRedBall/Gui/ListBoxBase.cs
/// <summary>
/// Removes the item from the CollapseListBox.
/// </summary>
/// <remarks>
/// This method removes the item from the CollapseListBox and detaches the item's children and
/// reattaches them to the box.  The assumption here is that the item will not be reattached.
/// </remarks>
/// <param name="itemToRemove"></param>
/// <returns></returns>
Removes the item from the CollapseListBox.
Removes the item from the CollapseListBox .
public CollapseItem RemoveItemByName(string itemToRemove)
        {
            CollapseItem item = GetItemByName(itemToRemove);
            RemoveCollapseItem(item);
            return item;
        }
public CollapseItem RemoveItemByName ( string itemToRemove ) { CollapseItem item = GetItemByName ( itemToRemove ) ; RemoveCollapseItem ( item ) ; return item ; }
Removes the item from the CollapseListBox.
Removes the item from the CollapseListBox .
None
itemToRemove
string
None
remarks
This method removes the item from the CollapseListBox and detaches the item's children and
reattaches them to the box.  The assumption here is that the item will not be reattached.
This method removes the item from the CollapseListBox and detaches the item ' s children and reattaches them to the box . The assumption here is that the item will not be reattached .