SplitContainer.Panel2 Property
Gets the right or bottom panel of the SplitContainer, depending on Orientation.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
'Declaration Public ReadOnly Property Panel2 As SplitterPanel 'Usage Dim instance As SplitContainer Dim value As SplitterPanel value = instance.Panel2
Property Value
Type: System.Windows.Forms.SplitterPanelIf Orientation is Vertical, the right panel of the SplitContainer. If Orientation is Horizontal, the bottom panel of the SplitContainer.
Use the Panel2 property to configure the right panel of a vertical SplitContainer or the bottom panel of a horizontal SplitContainer. For example, you can specify the minimum size of the panel by changing the value of the Panel2MinSize property, set the FixedPanel property to Panel2 so that the panel remains the same size when the container is resized, or you can get or set the panel's BackgroundImage and BackgroundImageLayout properties.
You cannot remove Panel2 from the SplitContainer.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: