TabPage
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
A TabPage object represents a single tab page in a TabControl.
[edit]
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
[edit]
Useful properties
-
AutoScroll- This property when set to true, allows scroll bars to be displayed.
-
-
BackColor- The background colour of the panel is defaulted toSystem.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 theToolTiptext for this tab. To display theToolTip,TabControl.ShowToolTipsproperty must be set totrue.
-
[edit]
MSDN references
|
© 2007-2008 Mike Kitchen

