Show / Hide Table of Contents

Class Tab

Represents a tab associated with a page.

Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
Manina.Windows.Forms.Page
Tab
Inherited Members
Manina.Windows.Forms.Page.CreateControlsInstance()
Manina.Windows.Forms.Page.OnPaint(System.Windows.Forms.PaintEventArgs)
Manina.Windows.Forms.Page.BackColor
Manina.Windows.Forms.Page.Parent
Manina.Windows.Forms.Page.Location
Manina.Windows.Forms.Page.Size
Namespace: Manina.Windows.Forms
Assembly: TabControl.dll
Syntax
public class Tab : Page, UnsafeNativeMethods.IOleControl, UnsafeNativeMethods.IOleObject, UnsafeNativeMethods.IOleInPlaceObject, UnsafeNativeMethods.IOleInPlaceActiveObject, UnsafeNativeMethods.IOleWindow, UnsafeNativeMethods.IViewObject, UnsafeNativeMethods.IViewObject2, UnsafeNativeMethods.IPersist, UnsafeNativeMethods.IPersistStreamInit, UnsafeNativeMethods.IPersistPropertyBag, UnsafeNativeMethods.IPersistStorage, UnsafeNativeMethods.IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IComponent, IDisposable

Constructors

| Improve this Doc View Source

Tab()

Initializes a new instance of Tab.

Declaration
public Tab()

Properties

| Improve this Doc View Source

CloseButtonBounds

Gets the bounding rectangle of close tab button in control's client coordinates but without the view offset applied.

Declaration
[Browsable(false)]
protected Rectangle CloseButtonBounds { get; set; }
Property Value
Type Description
System.Drawing.Rectangle
| Improve this Doc View Source

Font

Gets or sets the font associated with the control.

Declaration
public override Font Font { get; set; }
Property Value
Type Description
System.Drawing.Font
Overrides
System.Windows.Forms.Control.Font
| Improve this Doc View Source

Icon

Gets or sets the tab icon.

Declaration
public Image Icon { get; set; }
Property Value
Type Description
System.Drawing.Image
| Improve this Doc View Source

IconBounds

Gets the bounding rectangle of tab icon in control's client coordinates but without the view offset applied.

Declaration
[Browsable(false)]
protected Rectangle IconBounds { get; set; }
Property Value
Type Description
System.Drawing.Rectangle
| Improve this Doc View Source

TabBounds

Gets the bounding rectangle of the tab in control's client coordinates but without the view offset applied.

Declaration
[Browsable(false)]
protected Rectangle TabBounds { get; set; }
Property Value
Type Description
System.Drawing.Rectangle
| Improve this Doc View Source

TextBounds

Gets the bounding rectangle of tab text in control's client coordinates but without the view offset applied.

Declaration
[Browsable(false)]
protected Rectangle TextBounds { get; set; }
Property Value
Type Description
System.Drawing.Rectangle

Methods

| Improve this Doc View Source

OnContentsChanged(EventArgs)

Declaration
protected virtual void OnContentsChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
| Improve this Doc View Source

OnTextChanged(EventArgs)

Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
Type Name Description
System.EventArgs e
Overrides
System.Windows.Forms.Control.OnTextChanged(System.EventArgs)

Events

| Improve this Doc View Source

ContentsChanged

Occurs when the contents of a tab are changed.

Declaration
public event EventHandler ContentsChanged
Event Type
Type Description
System.EventHandler
Back to top Copyright © 2018 Özgür Özçıtak