public int IndexOf(SplitContainer container) { return(collection.IndexOf(container)); }
public bool Contains(SplitContainer container) { return(collection.Contains(container)); }
public void Remove(SplitContainer container) { OnSplitContainerRemoved(container); collection.Remove(container); InvalidateParent(); }
private void OnSplitContainerRemoved(SplitContainer splitContainer) { parent.InternalRemoveLogicalChild(splitContainer); }
private void OnSplitContainerAdded(SplitContainer splitContainer) { parent.InternalAddLogicalChild(splitContainer); }
public SplitContainerContentCollection(SplitContainer parent) { this.parent = parent ?? throw new ArgumentNullException(nameof(parent)); contentList = new List <FrameworkElement>(); }