Class TabControlAdvanced
Inheritance
TabControlAdvanced
Assembly: Reportman.Drawing.Forms.dll
public class TabControlAdvanced : Panel, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
Declaration
public TabControlAdvanced()
Fields
Declaration
public Color AlertingColor
Field Value
Declaration
public bool AllowLastTabReordering
Field Value
Declaration
public bool EmptyMoveForm
Field Value
Declaration
public const int HT_CAPTION = 2
Field Value
Declaration
Field Value
Declaration
public const int WM_NCLBUTTONDOWN = 161
Field Value
Declaration
public const int WM_NCLBUTTONUP = 162
Field Value
Declaration
protected static float _alphaIDE
Field Value
Declaration
protected TabControlAdvanced.VisualAppearance _appearance
Field Value
Declaration
protected Color _backDark
Field Value
Declaration
protected Color _backDarkDark
Field Value
Declaration
Field Value
Declaration
protected Color _backLight
Field Value
Declaration
protected Color _backLightLight
Field Value
Declaration
protected bool _boldSelected
Field Value
Declaration
protected int _bottomYPos
Field Value
Declaration
protected Color _buttonActiveColor
Field Value
Declaration
protected static int _buttonGap
Field Value
Declaration
protected static int _buttonHeight
Field Value
Declaration
protected Color _buttonInactiveColor
Field Value
Declaration
protected static int _buttonWidth
Field Value
Declaration
Field Value
Declaration
protected InertButton _closeButton
Field Value
Declaration
protected ContextMenuStrip _contextMenu
Field Value
Declaration
protected int _ctrlBottomOffset
Field Value
Declaration
protected int _ctrlLeftOffset
Field Value
Declaration
protected int _ctrlRightOffset
Field Value
Declaration
protected int _ctrlTopOffset
Field Value
Declaration
protected bool _defaultColor
Field Value
Declaration
protected bool _defaultFont
Field Value
Declaration
protected bool _dimUnselected
Field Value
Declaration
protected bool _dragFromControl
Field Value
Declaration
protected InertButton _dropDownButton
Field Value
Declaration
protected TabControlAdvanced.HideTabsModes _hideTabsMode
Field Value
Declaration
protected TabControlAdvanced.HostPanel _hostPanel
Field Value
_hotTextColor
Declaration
protected Color _hotTextColor
Field Value
Declaration
Field Value
_hotTrackPage
Declaration
protected int _hotTrackPage
Field Value
_hotTrackPageHightlightClose
Declaration
protected bool _hotTrackPageHightlightClose
Field Value
Declaration
protected bool _hoverSelect
Field Value
Declaration
protected bool _idePixelArea
Field Value
Declaration
protected bool _idePixelBorder
Field Value
Declaration
protected bool _ignoreDownDrag
Field Value
Declaration
protected static int _imageButtonHeight
Field Value
Declaration
protected static int _imageButtonWidth
Field Value
Declaration
protected int _imageGapBottomExtra
Field Value
Declaration
protected int _imageGapTopExtra
Field Value
Declaration
protected ImageList _imageList
Field Value
_insetBorderPagesOnly
Declaration
protected bool _insetBorderPagesOnly
Field Value
Declaration
protected bool _insetPlain
Field Value
Declaration
protected static ImageList _internalImages
Field Value
Declaration
protected int _leaveTimeout
Field Value
Declaration
protected InertButton _leftArrow
Field Value
Declaration
protected bool _leftMouseDown
Field Value
Declaration
protected bool _leftMouseDownDrag
Field Value
Declaration
protected Point _leftMouseDownPos
Field Value
Declaration
protected bool _leftScroll
Field Value
Declaration
protected bool _mouseOver
Field Value
Declaration
protected static int _multiBoxAdjust
Field Value
Declaration
protected bool _multiline
Field Value
Declaration
protected bool _multilineFullWidth
Field Value
Declaration
protected readonly Rectangle _nullPosition
Field Value
Declaration
protected static int _originalButtonHeight
Field Value
Declaration
protected static int _originalButtonWidth
Field Value
Declaration
protected Timer _overTimer
Field Value
_pageAreaRect
Declaration
protected Rectangle _pageAreaRect
Field Value
Declaration
protected Rectangle _pageRect
Field Value
_pageSelected
Declaration
protected int _pageSelected
Field Value
Declaration
protected static int _plainBorder
Field Value
Declaration
protected static int _plainBorderDouble
Field Value
Declaration
protected static int[,] _position
Field Value
Declaration
protected bool _positionAtTop
Field Value
Declaration
protected bool _recalculate
Field Value
Declaration
protected bool _recordFocus
Field Value
Declaration
protected InertButton _rightArrow
Field Value
Declaration
protected bool _rightScroll
Field Value
_selectedTextOnly
Declaration
protected bool _selectedTextOnly
Field Value
Declaration
protected bool _showArrows
Field Value
Declaration
protected bool _showClose
Field Value
Declaration
protected bool _showCloseIndividual
Field Value
Declaration
protected bool _showDropDown
Field Value
_shrinkPagesToFit
Declaration
protected bool _shrinkPagesToFit
Field Value
_startPage
Declaration
Field Value
Declaration
protected VisualStyle _style
Field Value
Declaration
protected int _styleIndex
Field Value
_tabPages
Declaration
protected TabPageCollection _tabPages
Field Value
Declaration
protected ArrayList _tabRects
Field Value
Declaration
protected static int _tabsAreaEndInset
Field Value
Declaration
protected Rectangle _tabsAreaRect
Field Value
Declaration
protected static int _tabsAreaStartInset
Field Value
_textColor
Declaration
protected Color _textColor
Field Value
_textHeight
Declaration
protected int _textHeight
Field Value
_textInactiveColor
Declaration
protected Color _textInactiveColor
Field Value
Declaration
Field Value
Declaration
protected static int _unScaledButtonWidth
Field Value
Properties
Declaration
public virtual bool AllowTabReordering { get; set; }
Property Value
Declaration
public virtual TabControlAdvanced.VisualAppearance Appearance { get; set; }
Property Value
Declaration
public bool AutoHidePaging { get; set; }
Property Value
Declaration
public int AutoShrinkMinimum { get; set; }
Property Value
AutoShrinkPages
Declaration
public bool AutoShrinkPages { get; set; }
Property Value
Declaration
public override Color BackColor { get; set; }
Property Value
Overrides
BoldSelectedPage
Declaration
public virtual bool BoldSelectedPage { get; set; }
Property Value
Declaration
public virtual Color ButtonActiveColor { get; set; }
Property Value
Declaration
public virtual Color ButtonInactiveColor { get; set; }
Property Value
Declaration
public virtual ContextMenuStrip ContextPopupMenu { get; set; }
Property Value
Declaration
public virtual int ControlBottomOffset { get; set; }
Property Value
Declaration
public virtual int ControlLeftOffset { get; set; }
Property Value
Declaration
public virtual int ControlRightOffset { get; set; }
Property Value
Declaration
public virtual int ControlTopOffset { get; set; }
Property Value
Declaration
protected override CreateParams CreateParams { get; }
Property Value
Overrides
Declaration
public bool DragFromControl { get; set; }
Property Value
Declaration
public static Image FinishFlag { get; }
Property Value
Declaration
public override Font Font { get; set; }
Property Value
Overrides
Declaration
public override Color ForeColor { get; set; }
Property Value
Overrides
Declaration
public virtual TabControlAdvanced.HideTabsModes HideTabsMode { get; set; }
Property Value
HotTextColor
Declaration
public virtual Color HotTextColor { get; set; }
Property Value
Declaration
public virtual bool HotTrack { get; set; }
Property Value
Declaration
public virtual bool HoverSelect { get; set; }
Property Value
Declaration
public virtual bool IDEPixelArea { get; set; }
Property Value
Declaration
public virtual bool IDEPixelBorder { get; set; }
Property Value
Declaration
public int ImageHeight { get; set; }
Property Value
Declaration
public virtual ImageList ImageList { get; set; }
Property Value
Declaration
public int ImageWidth { get; set; }
Property Value
InsetBorderPagesOnly
Declaration
public virtual bool InsetBorderPagesOnly { get; set; }
Property Value
Declaration
public virtual bool InsetPlain { get; set; }
Property Value
Declaration
public int MouseLeaveTimeout { get; set; }
Property Value
Declaration
public virtual bool Multiline { get; set; }
Property Value
Declaration
public virtual bool MultilineFullWidth { get; set; }
Property Value
Declaration
public virtual bool PositionTop { get; set; }
Property Value
Declaration
public static Image ProgresWheel { get; }
Property Value
Declaration
public virtual bool RecordFocus { get; set; }
Property Value
Declaration
[Browsable(false)]
public virtual int SelectedIndex { get; set; }
Property Value
Declaration
[Browsable(false)]
public virtual TabPageAdvanced SelectedTab { get; set; }
Property Value
SelectedTextOnly
Declaration
public virtual bool SelectedTextOnly { get; set; }
Property Value
Declaration
public virtual bool ShowArrows { get; set; }
Property Value
Declaration
public virtual bool ShowClose { get; set; }
Property Value
Declaration
public virtual bool ShowCloseIndividual { get; set; }
Property Value
Declaration
public virtual bool ShowDropDown { get; set; }
Property Value
ShrinkPagesToFit
Declaration
public virtual bool ShrinkPagesToFit { get; set; }
Property Value
Declaration
public virtual VisualStyle Style { get; set; }
Property Value
TabPages
Declaration
public virtual TabPageCollection TabPages { get; }
Property Value
Declaration
[Browsable(false)]
public virtual Rectangle TabsAreaRect { get; }
Property Value
TextColor
Declaration
public virtual Color TextColor { get; set; }
Property Value
TextInactiveColor
Declaration
public virtual Color TextInactiveColor { get; set; }
Property Value
Methods
AddTabPage(TabPageAdvanced)
Declaration
protected virtual void AddTabPage(TabPageAdvanced page)
Parameters
Declaration
protected virtual void ClipDrawingTabs(Graphics g)
Parameters
Declaration
protected virtual Rectangle ClippingRectangle()
Returns
Close(TabPageAdvanced)
Declaration
public bool Close(TabPageAdvanced npage)
Parameters
Returns
Declaration
protected virtual bool ControlMouseTest(nint hWnd, Point mousePos, Control check)
Parameters
Returns
Declaration
protected virtual bool ControlWantDoubleClick(nint hWnd, Point mousePos, Control check)
Parameters
Returns
Declaration
protected virtual void DefineBackColor(Color newColor)
Parameters
| Type |
Name |
Description |
| Color |
newColor |
|
Declaration
protected virtual void DefineButtonImages()
Declaration
protected virtual void DefineFont(Font newFont)
Parameters
| Type |
Name |
Description |
| Font |
newFont |
|
DeselectPage(TabPageAdvanced)
Declaration
protected virtual void DeselectPage(TabPageAdvanced page)
Parameters
Limpiar los recursos que se estén utilizando.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| bool |
disposing |
true si los recursos administrados se deben eliminar; false en caso contrario, false.
|
Overrides
DrawChromeTabBorder(TabPageAdvanced, Graphics, Rectangle)
Declaration
protected virtual void DrawChromeTabBorder(TabPageAdvanced page, Graphics g, Rectangle rectPage)
Parameters
DrawIDETabBorder(TabPageAdvanced, Graphics, Rectangle)
Declaration
protected virtual void DrawIDETabBorder(TabPageAdvanced page, Graphics g, Rectangle rectPage)
Parameters
DrawMultiBoxBorder(TabPageAdvanced, Graphics, Rectangle)
Declaration
protected virtual void DrawMultiBoxBorder(TabPageAdvanced page, Graphics g, Rectangle rectPage)
Parameters
DrawPlainTabBorder(TabPageAdvanced, Graphics, Rectangle)
Declaration
protected virtual void DrawPlainTabBorder(TabPageAdvanced page, Graphics g, Rectangle rectPage)
Parameters
DrawTab(TabPageAdvanced, Graphics, bool, bool)
Declaration
protected virtual void DrawTab(TabPageAdvanced page, Graphics g, bool highlightText, bool highlightClose)
Parameters
DrawTabBorder(ref Rectangle, TabPageAdvanced, Graphics)
Declaration
protected virtual void DrawTabBorder(ref Rectangle rectTab, TabPageAdvanced page, Graphics g)
Parameters
DrawTabImage(Rectangle, TabPageAdvanced, Graphics, int, ref int, bool)
Declaration
protected virtual void DrawTabImage(Rectangle rectTab, TabPageAdvanced page, Graphics g, int xMax, ref int xDraw, bool highlightText)
Parameters
DrawTabText(Rectangle, TabPageAdvanced, Graphics, bool, bool, int, int)
Declaration
protected virtual void DrawTabText(Rectangle rectTab, TabPageAdvanced page, Graphics g, bool highlightText, bool highlightClose, int xMax, int xDraw)
Parameters
Declaration
protected virtual Control FindFocus(Control root)
Parameters
Returns
Declaration
protected virtual int GetMaximumDrawPos()
Returns
GetTabControlAdvanced(TabPageAdvanced)
Declaration
public static TabControlAdvanced GetTabControlAdvanced(TabPageAdvanced npage)
Parameters
Returns
GetTabPageSpace(Graphics, TabPageAdvanced)
Declaration
protected virtual int GetTabPageSpace(Graphics g, TabPageAdvanced page)
Parameters
Returns
HandleShowingTabPage(TabPageAdvanced, Control)
Declaration
protected virtual void HandleShowingTabPage(TabPageAdvanced page, Control c)
Parameters
Declaration
protected virtual bool HideTabsCalculation()
Returns
Declaration
protected virtual void InternalMouseDown(Point mousePos)
Parameters
| Type |
Name |
Description |
| Point |
mousePos |
|
MakePageVisible(TabPageAdvanced)
Declaration
public virtual void MakePageVisible(TabPageAdvanced page)
Parameters
MakePageVisible(int)
Declaration
public virtual void MakePageVisible(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
MovePageSelection(TabPageAdvanced)
Declaration
protected virtual void MovePageSelection(TabPageAdvanced page)
Parameters
OnClearedPages()
Declaration
protected virtual void OnClearedPages()
OnClearingPages()
Declaration
protected virtual void OnClearingPages()
Declaration
protected virtual void OnCloseButton(object sender, EventArgs e)
Parameters
Declaration
public virtual void OnClosePressed(CancelArgs e)
Parameters
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
Overrides
OnDoubleClickTab(TabPageAdvanced)
Declaration
public virtual void OnDoubleClickTab(TabPageAdvanced page)
Parameters
Declaration
protected virtual void OnDropDownButton(object sender, EventArgs e)
Parameters
OnInsertedPage(int, object)
Declaration
protected virtual void OnInsertedPage(int index, object value)
Parameters
OnInsertingPage(int, object)
Declaration
protected virtual void OnInsertingPage(int index, object value)
Parameters
Declaration
protected virtual void OnLeftArrow(object sender, EventArgs e)
Parameters
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
Overrides
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Overrides
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Overrides
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Overrides
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Overrides
Declaration
protected virtual void OnMouseTick(object sender, EventArgs e)
Parameters
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Overrides
OnPageDragEnd(MouseEventArgs)
Declaration
public virtual void OnPageDragEnd(MouseEventArgs e)
Parameters
OnPageDragMove(MouseEventArgs)
Declaration
public virtual void OnPageDragMove(MouseEventArgs e)
Parameters
OnPageDragQuit(MouseEventArgs)
Declaration
public virtual void OnPageDragQuit(MouseEventArgs e)
Parameters
OnPageDragStart(MouseEventArgs)
Declaration
public virtual void OnPageDragStart(MouseEventArgs e)
Parameters
OnPageEnter(object, EventArgs)
Declaration
protected virtual void OnPageEnter(object sender, EventArgs e)
Parameters
OnPageGotFocus(EventArgs)
Declaration
public virtual void OnPageGotFocus(EventArgs e)
Parameters
OnPageLeave(object, EventArgs)
Declaration
protected virtual void OnPageLeave(object sender, EventArgs e)
Parameters
OnPageLostFocus(EventArgs)
Declaration
public virtual void OnPageLostFocus(EventArgs e)
Parameters
OnPageMouseDown(object, MouseEventArgs)
Declaration
protected virtual void OnPageMouseDown(object sender, MouseEventArgs e)
Parameters
OnPageMouseEnter(object, EventArgs)
Declaration
protected virtual void OnPageMouseEnter(object sender, EventArgs e)
Parameters
OnPageMouseLeave(object, EventArgs)
Declaration
protected virtual void OnPageMouseLeave(object sender, EventArgs e)
Parameters
OnPagePropertyChanged(TabPageAdvanced, Property, object)
Declaration
protected virtual void OnPagePropertyChanged(TabPageAdvanced page, TabPageAdvanced.Property prop, object oldValue)
Parameters
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Overrides
Declaration
protected override void OnPaintBackground(PaintEventArgs e)
Parameters
Overrides
Declaration
public virtual void OnPopupMenuDisplay(CancelEventArgs e)
Parameters
Declaration
protected virtual void OnPreferenceChanged(object sender, UserPreferenceChangedEventArgs e)
Parameters
OnRemovedPage(int, object)
Declaration
protected virtual void OnRemovedPage(int index, object value)
Parameters
OnRemovingPage(int, object)
Declaration
protected virtual void OnRemovingPage(int index, object value)
Parameters
Declaration
protected override void OnResize(EventArgs e)
Parameters
Overrides
Declaration
protected virtual void OnRightArrow(object sender, EventArgs e)
Parameters
Declaration
public virtual void OnSelectionChanged(EventArgs e)
Parameters
Declaration
public virtual void OnSelectionChanging(object sender, CancelArgs args)
Parameters
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
Overrides
Declaration
protected override void OnSystemColorsChanged(EventArgs e)
Parameters
Overrides
Declaration
protected override bool ProcessMnemonic(char key)
Parameters
| Type |
Name |
Description |
| char |
key |
|
Returns
Overrides
Declaration
protected virtual void Recalculate()
Declaration
protected virtual void RecalculateButtons()
Declaration
protected virtual void RecalculateMultilineTabs(int xStartPos, int xEndPos, Rectangle tabPosition, int tabButtonHeight)
Parameters
Declaration
protected virtual void RecalculateSinglelineTabs(int xWidth, int xStartPos, Rectangle tabPosition)
Parameters
Declaration
protected virtual void RecursiveMonitor(Control top, bool monitor)
Parameters
Declaration
public static extern bool ReleaseCapture()
Returns
RemoveTabPage(TabPageAdvanced)
Declaration
protected virtual void RemoveTabPage(TabPageAdvanced page)
Parameters
Declaration
public void ResetAppearance()
ResetBoldSelectedPage()
Declaration
public void ResetBoldSelectedPage()
Declaration
public void ResetButtonActiveColor()
Declaration
public void ResetButtonInactiveColor()
Declaration
public void ResetContextPopupMenu()
Declaration
public void ResetControlBottomOffset()
Declaration
public void ResetControlLeftOffset()
Declaration
public void ResetControlRightOffset()
Declaration
public void ResetControlTopOffset()
Declaration
public void ResetDragFromControl()
Declaration
public void ResetHideTabsMode()
ResetHotTextColor()
Declaration
public void ResetHotTextColor()
Declaration
public void ResetHotTrack()
Declaration
public void ResetHoverSelect()
Declaration
public void ResetIDEPixelArea()
Declaration
public void ResetIDEPixelBorder()
Declaration
public void ResetImageList()
ResetInsetBorderPagesOnly()
Declaration
public void ResetInsetBorderPagesOnly()
Declaration
public void ResetInsetPlain()
Declaration
public void ResetMouseLeaveTimeout()
Declaration
public void ResetMultiline()
Declaration
public void ResetMultilineFullWidth()
Declaration
public void ResetPositionTop()
Declaration
public void ResetRecordFocus()
ResetSelectedTextOnly()
Declaration
public void ResetSelectedTextOnly()
Declaration
public void ResetShowArrows()
Declaration
public void ResetShowClose()
ResetShrinkPagesToFit()
Declaration
public void ResetShrinkPagesToFit()
Declaration
ResetTextColor()
Declaration
public void ResetTextColor()
SelectPage(TabPageAdvanced)
Declaration
protected virtual void SelectPage(TabPageAdvanced page)
Parameters
Declaration
public static extern int SendMessage(nint hWnd, int Msg, int wParam, int lParam)
Parameters
Returns
Declaration
protected virtual void SetAppearance(TabControlAdvanced.VisualAppearance appearance)
Parameters
Declaration
protected virtual void SetStyleIndex()
ShouldSerializeBoldSelectedPage()
Declaration
protected bool ShouldSerializeBoldSelectedPage()
Returns
Declaration
protected bool ShouldSerializeContextPopupMenu()
Returns
Declaration
protected bool ShouldSerializeHideTabsMode()
Returns
Declaration
protected bool ShouldSerializeIDEPixelBorder()
Returns
Declaration
protected bool ShouldSerializePositionTop()
Returns
Declaration
protected bool ShouldSerializeShowArrows()
Returns
Declaration
protected bool ShouldSerializeShowClose()
Returns
ShouldSerializeShrinkPagesToFit()
Declaration
protected bool ShouldSerializeShrinkPagesToFit()
Returns
TextTextInactiveColor()
Declaration
public void TextTextInactiveColor()
Events
Declaration
public event CancelEvent ClosePressed
Event Type
Declaration
public event TabControlAdvanced.DoubleClickTabHandler DoubleClickTab
Event Type
PageDragEnd
Declaration
public event MouseEventHandler PageDragEnd
Event Type
PageDragMove
Declaration
public event MouseEventHandler PageDragMove
Event Type
PageDragQuit
Declaration
public event MouseEventHandler PageDragQuit
Event Type
PageDragStart
Declaration
public event MouseEventHandler PageDragStart
Event Type
PageGotFocus
Declaration
public event EventHandler PageGotFocus
Event Type
PageLostFocus
Declaration
public event EventHandler PageLostFocus
Event Type
Declaration
public event CancelEventHandler PopupMenuDisplay
Event Type
Declaration
public event EventHandler SelectionChanged
Event Type
Declaration
public event CancelEvent SelectionChanging
Event Type
Implements