ComponentFactory.Krypton.Toolkit.ViewComposite.Remove C# (CSharp) Method

Remove() public method

Removes first occurance of specified view.
public Remove ( ViewBase item ) : bool
item ViewBase ViewBase reference.
return bool
        public override bool Remove(ViewBase item)
        {
            // Let type safe collection perform operation
            bool ret = (_views != null) ? _views.Remove(item) : false;

            // Remove back reference only when remove completed with success
            if (ret)
                item.Parent = null;

            return ret;
        }