'Declaration Public Class GridBagPanel Inherits System.Windows.Controls.Panel
public class GridBagPanel : System.Windows.Controls.Panel
GridBagPanel by default arranges children by laying them out horizontally. You can control the positioning of each child by setting Column, Row, ColumnSpan and RowSpan attached properties. Column and Row values of -1 indicate the child element is to be positioned relative to the previous child element. ColumnSpan or RowSpan of 0 indicates the child element is to occupy the rest of the horizontal or vertical area and further items with Column or Row values of -1 (relative) will be positioned on the next logical row or column.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2