public void AddPane(Pane pane) { m_panes.Add(pane); m_heightWithDelim += pane.Height; if (!pane.IsDelimiter) { m_heightWithoutDelim = m_heightWithDelim; m_noDelimPageCount = m_panes.Count; } }
public void Insert(Pane pane) { m_panes.Insert(0, pane); }
public void Add(Pane pane) { m_panes.Add(pane); }
public bool HasPane(Pane pane) { return m_panes.Contains(pane); }
public bool CanAddPane(Pane pane) { if (pane.IsDelimiter) return true; return pane.Height + m_heightWithDelim <= m_maxPageHeight; }