NetXP 3.0 Reference

TabControl Members

TabControl overview

Public Instance Constructors

TabControl Constructor Constructs a new TabControl.

Public Instance Properties

AccessibilityObject (inherited from Control)Gets the AccessibleObject assigned to the control.
AccessibleDefaultActionDescription (inherited from Control)Gets or sets the default action description of the control for use by accessibility client applications.
AccessibleDescription (inherited from Control)Gets or sets the description of the control used by accessibility client applications.
AccessibleName (inherited from Control)Gets or sets the name of the control used by accessibility client applications.
AccessibleRole (inherited from Control)Gets or sets the accessible role of the control
AllowDrop Should drag and drop be allowed?
Anchor (inherited from Control)Gets or sets which edges of the control are anchored to the edges of its container.
Appearance The position of the tabs in the tab control.
AutoScroll (inherited from ScrollableControl) Gets or sets a value indicating whether the container will allow the user to scroll to any controls placed outside of its visible boundaries.
AutoScrollMargin (inherited from ScrollableControl)Gets or sets the size of the auto-scroll margin.
AutoScrollMinSize (inherited from ScrollableControl) Gets or sets the minimum size of the auto-scroll.
AutoScrollPosition (inherited from ScrollableControl)Gets or sets the location of the auto-scroll position.
BackColor (inherited from Control)Gets or sets the background color for the control.
BackgroundImage (inherited from Control)Gets or sets the background image displayed in the control.
BindingContext (inherited from Control)Gets or sets the BindingContext for the control.
BoldSelectedPage Bold selected page?
BorderStyle (inherited from Panel) Indicates the border style for the control.
Bottom (inherited from Control)Gets the distance between the bottom edge of the control and the top edge of its container's client area.
Bounds (inherited from Control)Gets or sets the size and location of the control including its nonclient elements.
CanFocus (inherited from Control)Gets a value indicating whether the control can receive focus.
CanSelect (inherited from Control)Gets a value indicating whether the control can be selected.
Capture (inherited from Control)Gets or sets a value indicating whether the control has captured the mouse.
CausesValidation (inherited from Control)Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
ClientRectangle (inherited from Control)Gets the rectangle that represents the client area of the control.
ClientSize (inherited from Control)Gets or sets the height and width of the client area of the control.
CompanyName (inherited from Control) Gets the name of the company or creator of the application containing the control.
Container (inherited from Component) Gets the IContainer that contains the Component.
ContainsFocus (inherited from Control)Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
ContextMenu (inherited from Control) Gets or sets the shortcut menu associated with the control.
ControlBottomOffset Offset (at the bottom) of the control.
ControlLeftOffset Offset (to the left) of the control.
ControlRightOffset Offset (to the right) of the control.
Controls Controls contained by the tab control.
ControlTopOffset Offset (at the top) of the control.
Created (inherited from Control) Gets a value indicating whether the control has been created.
Cursor (inherited from Control) Gets or sets the cursor that is displayed when the mouse pointer is over the control.
DataBindings (inherited from Control) Gets the data bindings for the control.
DisplayRectangle (inherited from ScrollableControl) 
Disposing (inherited from Control)Gets a value indicating whether the control is in the process of being disposed of.
Dock (inherited from Control) Gets or sets which edge of the parent container a control is docked to.
DockPadding (inherited from ScrollableControl)Gets the dock padding settings for all edges of the control.
DragDropReorder Reorder pages using drag and drop?
DragFromControl Drag from control?
DragOverSelect Select page when mouse is dragged over it?
Enabled (inherited from Control) Gets or sets a value indicating whether the control can respond to user interaction.
Focused (inherited from Control)Gets a value indicating whether the control has input focus.
Font (inherited from Control)Gets or sets the font of the text displayed by the control.
ForeColor (inherited from Control)Gets or sets the foreground color of the control.
Handle (inherited from Control) Gets the window handle that the control is bound to.
HasChildren (inherited from Control)Gets a value indicating whether the control contains one or more child controls.
Height (inherited from Control)Gets or sets the height of the control.
HideTabsMode The mode by which to hide tabs.
HotTrack Hot-track tab pages?
HoverSelect Select on hover?
ImeMode (inherited from Control) Gets or sets the Input Method Editor (IME) mode of the control.
InsetBorderPagesOnly Inset border for pages only?
InvokeRequired (inherited from Control) Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
IsAccessible (inherited from Control) Gets or sets a value indicating whether the control is visible to accessibility applications.
IsDisposed (inherited from Control) Gets a value indicating whether the control has been disposed of.
IsHandleCreated (inherited from Control)Gets a value indicating whether the control has a handle associated with it.
Left (inherited from Control)Gets or sets the x-coordinate of a control's left edge in pixels.
Location (inherited from Control)Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
MouseLeaveTimeout Mouse-leave timeout.
Multiline Multi-line tab control?
MultilineFullWidth Show full-width tab pages for multi-line tab control?
Name (inherited from Control)Gets or sets the name of the control.
Parent (inherited from Control)Gets or sets the parent container of the control.
PixelArea Show a one-pixel border at the top or bottom of the tab area?
PixelBorder Show a one-pixel border around the tab control?
PositionTop Should tabs be positioned at top?
ProductName (inherited from Control) Gets the product name of the assembly containing the control.
ProductVersion (inherited from Control) Gets the version of the assembly containing the control.
RecordFocus Record focus?
RecreatingHandle (inherited from Control)Gets a value indicating whether the control is currently re-creating its handle.
Region (inherited from Control) Gets or sets the window region associated with the control.
Renderer Renderer used to draw the tab control.
Right (inherited from Control) Gets the distance between the right edge of the control and the left edge of its container.
RightToLeft (inherited from Control) Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
SelectedIndex Index of the selected tab page.
SelectedTab Selected tab page.
SelectedTextOnly Show text only for selected item?
ShowArrows Show arrows?
ShowClose Show the close button?
ShrinkPagesToFit Shrink pages to fit?
Site (inherited from Control)Gets or sets the site of the control.
Size (inherited from Control)Gets or sets the height and width of the control.
TabIndex (inherited from Control)Gets or sets the tab order of the control within its container.
TabPages Collection of tab pages contained by the tab control.
TabsAreaRect Internal.
TabStop (inherited from Panel)Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
Tag (inherited from Control)Gets or sets the object that contains data about the control.
Text (inherited from Panel) 
Top (inherited from Control)Gets or sets the y-coordinate of the control's top edge in pixels.
TopLevelControl (inherited from Control)Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
Visible (inherited from Control)Gets or sets a value indicating whether the control is displayed.
Width (inherited from Control) Gets or sets the width of the control.
WindowTarget (inherited from Control) 

Public Instance Methods

BeginInit Internal
BeginInvoke (inherited from Control)Overloaded. Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.
BeginUpdate Begins a series of updates. Suspends all redrawing.
BringToFront (inherited from Control)Brings the control to the front of the z-order.
Contains (inherited from Control)Retrieves a value indicating whether the specified control is a child of the control.
CreateControl (inherited from Control) Forces the creation of the control, including the creation of the handle and any child controls.
CreateGraphics (inherited from Control)Creates the Graphics object for the control.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component) Releases all resources used by the Component.
DoDragDrop (inherited from Control) Begins a drag-and-drop operation.
EndInit Internal
EndInvoke (inherited from Control) Retrieves the return value of the asynchronous operation represented by the IAsyncResult object passed.
EndUpdate Ends a series of updates. Refreshes the control.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindForm (inherited from Control) Retrieves the form that the control is on.
FindIndex Loops over all the TabPages to find the index of the given TabPage.
Focus (inherited from Control) Sets input focus to the control.
GetChildAtPoint (inherited from Control)Retrieves the child control that is located at the specified coordinates.
GetContainerControl (inherited from Control)Returns the next ContainerControl up the control's chain of parent controls.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetNextControl (inherited from Control)Retrieves the next control forward or back in the tab order of child controls.
GetType (inherited from Object)Gets the Type of the current instance.
Hide (inherited from Control) Conceals the control from the user.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Invalidate (inherited from Control)Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
Invoke (inherited from Control)Overloaded. Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
MakePageVisibleOverloaded. Makes a specified tab page visible.
PerformLayout (inherited from Control)Overloaded. Forces the control to apply layout logic to all its child controls.
PointToClient (inherited from Control)Computes the location of the specified screen point into client coordinates.
PointToScreen (inherited from Control)Computes the location of the specified client point into screen coordinates.
PreProcessMessage (inherited from Control)Preprocesses input messages within the message loop before they are dispatched.
RectangleToClient (inherited from Control)Computes the size and location of the specified screen rectangle in client coordinates.
RectangleToScreen (inherited from Control)Computes the size and location of the specified client rectangle in screen coordinates.
Refresh (inherited from Control)Forces the control to invalidate its client area and immediately redraw itself and any child controls.
ResetBackColor (inherited from Control)Resets the BackColor property to its default value.
ResetBindings (inherited from Control)Resets the DataBindings property to its default value.
ResetCursor (inherited from Control)Resets the Cursor property to its default value.
ResetFont (inherited from Control)Resets the Fontproperty to its default value.
ResetForeColor (inherited from Control)Resets the ForeColor property to its default value.
ResetImeMode (inherited from Control)Resets the ImeMode property to its default value.
ResetRightToLeft (inherited from Control)Resets the RightToLeft property to its default value.
ResetText (inherited from Control)Resets the Text property to its default value.
ResumeLayout (inherited from Control)Overloaded. Resumes normal layout logic.
Scale (inherited from Control)Overloaded. Scales the control and any child controls to the specified ratio.
ScrollControlIntoView (inherited from ScrollableControl) 
Select (inherited from Control)Activates the control.
SelectNextControl (inherited from Control) Activates the next control.
SendToBack (inherited from Control)Sends the control to the back of the z-order.
SetAutoScrollMargin (inherited from ScrollableControl)Sets the size of the auto-scroll margins.
SetBounds (inherited from Control)Overloaded. Sets the bounds of the control to the specified location and size.
Show (inherited from Control) Displays the control to the user.
SuspendLayout (inherited from Control)Temporarily suspends the layout logic for the control.
TabPageFromPoint Gets a tab page at a specified point.
ToString (inherited from Panel) 
Update (inherited from Control) Causes the control to redraw the invalidated regions within its client area.

Public Instance Events

BackColorChanged (inherited from Control)Occurs when the value of the BackColor property changes.
BackgroundImageChanged (inherited from Control)Occurs when the value of the BackgroundImage property changes.
BindingContextChanged (inherited from Control)Occurs when the value of the BindingContext property changes.
CausesValidationChanged (inherited from Control)Occurs when the value of the CausesValidation property changes.
ChangeUICues (inherited from Control) Occurs when the focus or keyboard user interface (UI) cues change.
Click (inherited from Control)Occurs when the control is clicked.
ClosePressed Close button was pressed.
ContextMenuChanged (inherited from Control)Occurs when the value of the ContextMenu property changes.
ControlAdded (inherited from Control)Occurs when a new control is added to the ControlCollection .
ControlRemoved (inherited from Control)Occurs when a control is removed from the ControlCollection .
CursorChanged (inherited from Control)Occurs when the value of the Cursor property changes.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
DockChanged (inherited from Control)Occurs when the value of the Dock property changes.
DoubleClick (inherited from Control) Occurs when the control is double-clicked.
DoubleClickTab A tab has been double-clicked.
DragDrop (inherited from Control)Occurs when a drag-and-drop operation is completed.
DragEnter (inherited from Control)Occurs when an object is dragged into the control's bounds.
DragLeave (inherited from Control) Occurs when an object is dragged out of the control's bounds.
DragOver (inherited from Control) Occurs when an object is dragged over the control's bounds.
EnabledChanged (inherited from Control)Occurs when the Enabled property value has changed.
Enter (inherited from Control)Occurs when the control is entered.
FontChanged (inherited from Control)Occurs when the Font property value changes.
ForeColorChanged (inherited from Control)Occurs when the ForeColor property value changes.
GiveFeedback (inherited from Control)Occurs during a drag operation.
GotFocus (inherited from Control)Occurs when the control receives focus.
HandleCreated (inherited from Control)Occurs when a handle is created for the control.
HandleDestroyed (inherited from Control)Occurs when the control's handle is in the process of being destroyed.
HelpRequested (inherited from Control)Occurs when the user requests help for a control.
ImeModeChanged (inherited from Control)Occurs when the ImeMode property has changed.
Invalidated (inherited from Control)Occurs when a control's display requires redrawing.
KeyDown (inherited from Panel) 
KeyPress (inherited from Panel) 
KeyUp (inherited from Panel) 
Layout (inherited from Control)Occurs when a control should reposition its child controls.
Leave (inherited from Control)Occurs when the input focus leaves the control.
LocationChanged (inherited from Control)Occurs when the Location property value has changed.
LostFocus (inherited from Control)Occurs when the control loses focus.
MouseDown (inherited from Control)Occurs when the mouse pointer is over the control and a mouse button is pressed.
MouseEnter (inherited from Control) Occurs when the mouse pointer enters the control.
MouseHover (inherited from Control) Occurs when the mouse pointer hovers over the control.
MouseLeave (inherited from Control) Occurs when the mouse pointer leaves the control.
MouseMove (inherited from Control) Occurs when the mouse pointer is moved over the control.
MouseUp (inherited from Control)Occurs when the mouse pointer is over the control and a mouse button is released.
MouseWheel (inherited from Control) Occurs when the mouse wheel moves while the control has focus.
Move (inherited from Control)Occurs when the control is moved.
PageDragEnd Page dragging has ended.
PageDragMove Page dragging is going on.
PageDragQuit Page dragging has quit.
PageDragStart Page dragging has started.
PageGotFocus Tab page got focus.
PageLostFocus Tab page lost focus.
Paint (inherited from Control) Occurs when the control is redrawn.
ParentChanged (inherited from Control)Occurs when the Parent property value changes.
PopupMenuDisplay Context menu is being displayed.
QueryAccessibilityHelp (inherited from Control) Occurs when AccessibleObject is providing help to accessibility applications.
QueryContinueDrag (inherited from Control)Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.
Resize (inherited from Control)Occurs when the control is resized.
RightToLeftChanged (inherited from Control)Occurs when the RightToLeft property value changes.
SelectionChanged Selected tab page changed.
SelectionChanging Selected tab page is changing.
SizeChanged (inherited from Control)Occurs when the Size property value changes.
StyleChanged (inherited from Control)Occurs when the control style changes.
SystemColorsChanged (inherited from Control) Occurs when the system colors change.
TabIndexChanged (inherited from Control)Occurs when the TabIndex property value changes.
TabStopChanged (inherited from Control)Occurs when the TabStop property value changes.
TextChanged (inherited from Panel) 
Validated (inherited from Control)Occurs when the control is finished validating.
Validating (inherited from Control)Occurs when the control is validating.
VisibleChanged (inherited from Control)Occurs when the Visible property value changes.

See Also

TabControl Class | NETXP.Controls.Docking Namespace