.NET
  Home arrow .NET arrow The Why and How of the SplitContainer Cont...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

The Why and How of the SplitContainer Control
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 17
    2006-11-27

    Table of Contents:
  • The Why and How of the SplitContainer Control
  • The two orientations of SplitContainer Controls
  • Docking and Anchoring of Controls
  • Anchoring to prevent obscuring
  • Hide and reveal panels with nested SplitContainers
  • Events related to the SplitContainer Control

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    The Why and How of the SplitContainer Control


    (Page 1 of 6 )

    The SplitContainer control in the .NET framework is a serious improvement over the Splitter control in an earlier version of the framework. To find out how Microsoft took a good thing and made it better, and how you can use it to build user interfaces in your applications. keep reading.

    Introduction

    When Microsoft added the Splitter in the .NET Framework 1.1 it was found to be very useful in designing a physical division in a form that can be resized easily. One immediate use was for creating an Explorer-like user interface with a treeview on one side and a listview on the other. What's even more impressive is that multi-panels which look like Microsoft Outlook's UIs could be easily designed. However, in the .NET 2 framework, Microsoft vastly improved this to bring in the SplitContainer control. In fact, the object browser picture you are seeing in this tutorial is a UI that makes use of this multiple panel structure.

    SplitContainer Properties

    The SplitContainer Class is a new class in .NET Framework 2.0. It belongs to the Layout category. It essentially divides the display area into two or more resizable parts. It belongs to the System.Windows. Forms name space; most classes in this name space are derived from the Control Class.

    There are a large number of properties that are associated with the SplitContainer Control. A number of them can be configured as "Set" and "Get." There is no place better than the Object Browser to look at all the details.

    SplitContainer Control

    The SplitContainer Control was added in Visual Studio 2005 to the Toolbox. You will find this control in the VS 2005 Toolbox under the All Windows Forms menu as shown. There are two controls, the Splitter and the SplitContainer. The Splitter is still present for backward compatibility. In VS 2005, the use of SplitContainer is recommended.

    More .NET Articles
    More By Jayaram Krishnaswamy


       · This is a nice control to use in your navigation strategy. Also good for displaying...
       · With the splitter control it was possible to place controls like labels on...
     

    .NET ARTICLES

    - Introducing .NET
    - Building Business Objects for an Application
    - Methods for an Application`s Business Logic ...
    - Properties of an Application`s Business Logi...
    - Classes and Properties in an Application`s B...
    - Organizing Code for the Business Logic Layer...
    - Building the Business Logic Layer
    - Completing a Business Layer with Windows Wor...
    - Building Applications with Windows Workflow ...
    - Building the Data and Business Layers Using ...
    - The Transformed XML Explorer in MFC
    - List Control and Property Grid with the MFC ...
    - Font, Shell and Masked Edit Controls for MFC
    - Color, Link and Image Editor Controls for M...
    - New Controls for MFC





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 9 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek