TabPage

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
Exam Prep. Guides
70-505 Study Guide
70-526 Study Guide

1. Forms Controls

2. Integrating Data
3. Printing/Reporting
4. Enhancing Usability
5. Asynchronous Prog.
6. Forms Controls
7. Configure/Deploy

edit


A TabPage object represents a single tab page in a TabControl.


Inheritance hierarchy

System.Object 
  System.MarshalByRefObject 
    System.ComponentModel.Component 
      System.Windows.Forms.Control 
        System.Windows.Forms.ScrollableControl 
          System.Windows.Forms.Panel 
            System.Windows.Forms.TabPage


Useful properties

  • AutoScroll - This property when set to true, allows scroll bars to be displayed.
  • BackColor - The background colour of the panel is defaulted to System.Drawing.SystemColors.Control, but this can be set to any colour you like.
  • BackgroundImage - Instead of a single colour, an image can be displayed as the background.
  • BorderStyle - This property determines if the panel is outlined with no visible border (None), a plain line (FixedSingle), or a shadowed line (Fixed3D).
  • Controls - Gets the collection of controls contained within the control.
  • ImageIndex - Gets or sets the index to the image displayed on this tab.
  • ImageKey - Gets or sets the key accessor for the image in the ImageList of the associated TabControl.
  • Text - Gets or sets the text to display on the tab.
  • ToolTipText - Gets or sets the ToolTip text for this tab. To display the ToolTip, TabControl.ShowToolTips property must be set to true.


MSDN references


Previous_Page_.gif Next_Page_.gif
© 2007-2008 Mike Kitchen



Personal tools