.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  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
SunQuest
 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: 5 stars5 stars5 stars5 stars5 stars / 13
    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

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    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

    - Mouse Input and the WPF
    - Input with Windows Presentation Foundation
    - Introducing LINQ with XML and Databases
    - An Introduction to LINQ
    - Querying LINQ to SQL: Basics
    - Completing a Simple Storefront with LINQ
    - Knowing Your Environment: the System.Environ...
    - Creating the Home Page for a Simple Storefro...
    - LINQ Quickly with Language Integrated Queries
    - Introducing LINQ to SQL Designer using Visua...
    - Beginning LINQ to SQL Using Visual Studio 20...
    - Coding an AjaxPro.NET Based Search Engine fo...
    - Building an AjaxPro.NET Based Search Engine ...
    - Delving Deeper into Serialization with .NET
    - Serialization with .NET

    SunQuest




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway