Ejemplo n.º 1
0
 /// <summary>
 /// Returns a flag indicating whether the sizing element is at the bottom of the window.
 /// If true, the size of the popup should increase. If false, the size should decrease.
 /// </summary>
 /// <returns></returns>
 private bool IsSizerAtBottom()
 {
     if (this.UseNewLayoutSystem)
     {
         return(DockLayoutPanel.GetDock(this.Parent) == Dock.Bottom);
     }
     else
     {
         return(this.Parent.Alignment == ContentAlignment.BottomCenter);
     }
 }
Ejemplo n.º 2
0
 private bool IsSizerAtBottom()
 {
     return(DockLayoutPanel.GetDock(this.Parent) == Dock.Bottom);
 }