protected InternalRemove ( IDockingElement item ) : bool | ||
item | IDockingElement | IDockingElement reference. |
return | bool |
protected virtual bool InternalRemove(IDockingElement item)
{
// Try and remove before removing the parent relationship, so if the
// remove fails the parent relationship will still be correctly in place.
if (_elements.Remove(item))
{
item.Parent = null;
return true;
}
else
return false;
}