Beispiel #1
0
 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;
     }
 }
Beispiel #2
0
 public void Insert(Pane pane)
 {
     m_panes.Insert(0, pane);
 }
Beispiel #3
0
 public void Add(Pane pane)
 {
     m_panes.Add(pane);
 }
Beispiel #4
0
 public bool HasPane(Pane pane)
 {
     return m_panes.Contains(pane);
 }
Beispiel #5
0
 public bool CanAddPane(Pane pane)
 {
     if (pane.IsDelimiter) return true;
     return pane.Height + m_heightWithDelim <= m_maxPageHeight;
 }