Class AHTabControl
Summary description for AHTabControl.
Inheritance
System.Object
AHTabControl
Implements
System.IDisposable
System.ComponentModel.ISupportInitialize
Assembly: Syncfusion.Tools.Windows.dll
public class AHTabControl : AHTabControlBase, IThemeProvider, IVisualStyle, IDisposable, ITabControl, ISupportInitialize, ISupportOffice2007Theme
Constructors
Constructor of the AHTabControl.
Declaration
public AHTabControl(DockingManager dmgr, DockingStyle border)
Parameters
Fields
Declaration
protected AutoHideAnimationState AnimationState
Field Value
Declaration
protected bool bLeadSpace
Field Value
Declaration
protected bool bNeedActivate
Field Value
Declaration
protected bool bTrailSpace
Field Value
Declaration
protected DockStateControllerBase ddcAnimation
Field Value
Declaration
protected DockingManager dockingMgr
Field Value
Declaration
protected Rectangle rcVisibleBounds
Field Value
| Type |
| System.Drawing.Rectangle |
Declaration
protected DockingStyle tabBorder
Field Value
Declaration
protected ThemedControlDrawing tdTab
Field Value
Declaration
protected static Timer tmrAnimation
Field Value
| Type |
| System.Windows.Forms.Timer |
Declaration
protected static Timer tmrHideController
Field Value
| Type |
| System.Windows.Forms.Timer |
Declaration
protected static Timer tmrShowController
Field Value
| Type |
| System.Windows.Forms.Timer |
Properties
Gets/Sets the ActiveTabFont
Declaration
public override Font ActiveTabFont { get; set; }
Property Value
Overrides
Gets / Sets the Tab alignment.
Declaration
public override TabAlignment Alignment { get; set; }
Property Value
| Type |
| System.Windows.Forms.TabAlignment |
Overrides
Declaration
protected override CreateParams CreateParams { get; }
Property Value
| Type |
| System.Windows.Forms.CreateParams |
Declaration
public DockingManager DockingManager { get; }
Property Value
Declaration
public DockingStyle Edge { get; }
Property Value
Declaration
public int EmptyLeft { get; }
Property Value
Declaration
public override Font Font { get; set; }
Property Value
Overrides
Declaration
protected override bool IsOffice2003Style { get; }
Property Value
Overrides
Declaration
public bool LeadSpace { set; }
Property Value
Declaration
public override Point Padding { get; set; }
Property Value
| Type |
| System.Drawing.Point |
Overrides
Gets the ThemedControlDrawing.
Declaration
public ThemedControlDrawing ThemeDraw { get; }
Property Value
Declaration
public bool TrailSpace { set; }
Property Value
Methods
Add the tab from the DockStateControllerBase.
Declaration
public void AddTab(DockStateControllerBase ddcbase, bool bshowcontrol)
Parameters
| Type |
Name |
Description |
| DockStateControllerBase |
ddcbase |
The DockStateControllerBase instance.
|
| System.Boolean |
bshowcontrol |
Indicates whether control is shown or not.
|
Add the padding on AHControl.
Declaration
public void AddToEmptyLeft(int nleft)
Parameters
| Type |
Name |
Description |
| System.Int32 |
nleft |
The value that needs to be assigned
|
Declaration
protected Rectangle CalcClientControlSize(DockStateControllerBase ddcbase)
Parameters
Returns
| Type |
| System.Drawing.Rectangle |
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
| Type |
Description |
| System.Windows.Forms.AccessibleObject |
A new System.Windows.Forms.AccessibleObject for the AHTabControl, when AccessibilityEnabled for DockingManager is set as true
|
Overrides
Declaration
protected override void Dispose(bool bdisposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
bdisposing |
|
Overrides
Occurs on DockingManager ImageList changed.
Declaration
public void dockingManager_ImageListChanged(object obj, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
| System.EventArgs |
e |
The EventArgs contains the event data.
|
Forces immediate layout of control.
Declaration
protected void ForceLayout()
Returns the ActiveTabGroup Or SubGroupDockHostRect.
Declaration
public Rectangle GetActiveTabGroupOrSubGroupDockHostRect()
Returns
| Type |
| System.Drawing.Rectangle |
Returns the Active TabGroup Or SubGroup Rectangle.
Declaration
public Rectangle GetActiveTabGroupOrSubGroupRect()
Returns
| Type |
| System.Drawing.Rectangle |
Declaration
protected DockStateControllerBase GetControlFromPoint(Point ptClient)
Parameters
| Type |
Name |
Description |
| System.Drawing.Point |
ptClient |
|
Returns
Declaration
protected DockStyle GetDockBorder()
Returns
| Type |
| System.Windows.Forms.DockStyle |
Declaration
protected int GetTabGroupIndex(Point pt)
Parameters
| Type |
Name |
Description |
| System.Drawing.Point |
pt |
|
Returns
Declaration
protected int GetTabSubGroupIndex(int ngroup, Point pt)
Parameters
| Type |
Name |
Description |
| System.Int32 |
ngroup |
|
| System.Drawing.Point |
pt |
|
Returns
Declaration
protected void HideAnimation_TickEventHandler(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Hide the Controller in AHTabControl.
Declaration
public void HideController(DockStateControllerBase ddcbase, bool banimate)
Parameters
| Type |
Name |
Description |
| DockStateControllerBase |
ddcbase |
The DockStateControllerBase instance.
|
| System.Boolean |
banimate |
Indicates whether the Animation needs to specified or not.
|
Hide the Controller in AHTabControl.
Declaration
public void HideController(DockStateControllerBase ddcbase, bool banimate, bool bhidenow)
Parameters
| Type |
Name |
Description |
| DockStateControllerBase |
ddcbase |
The DockStateControllerBase instance.
|
| System.Boolean |
banimate |
Indicates whether the Animation needs to specified or not.
|
| System.Boolean |
bhidenow |
Indicates whether the controls needs to hide immediately.
|
Declaration
protected void HideController_TickEventHandler(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Declaration
protected void InitiateAnimationStopEvent(DockStateControllerBase ddcbase, Control dockctrl)
Parameters
Declaration
protected void InitiateHideAnimationStartEvent(DockStateControllerBase ddcbase, Control dockctrl)
Parameters
Declaration
protected void InitiateShowAnimationStartEvent(DockStateControllerBase ddcbase, Control dockctrl)
Parameters
Declaration
protected override void InitScrollButtons()
Overrides
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseHover(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
| Type |
Name |
Description |
| System.EventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.MouseEventArgs |
e |
|
Overrides
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type |
Name |
Description |
| System.Windows.Forms.PaintEventArgs |
e |
|
Overrides
Declaration
protected override void OnStyleChanged()
Overrides
Declaration
Remove the tab in AHTabControl.
Declaration
public void RemoveTab(DockStateControllerBase dscbase)
Parameters
Declaration
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
| System.Int32 |
width |
|
| System.Int32 |
height |
|
| System.Windows.Forms.BoundsSpecified |
specified |
|
Declaration
protected void SetClientControlSize(DockStateControllerBase ddcbase, Rectangle rcbounds)
Parameters
Declaration
protected void ShowAnimation_TickEventHandler(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Declaration
public void ShowController(DockStateControllerBase ddcbase, bool bAnimate)
Parameters
| Type |
Name |
Description |
| DockStateControllerBase |
ddcbase |
The DockStateControllerBase instance.
|
| System.Boolean |
bAnimate |
Indicates whether the Animation needs to specified or not.
|
Declaration
public void ShowController(DockStateControllerBase ddcbase, bool banimate, bool bActivateAfterShow)
Parameters
| Type |
Name |
Description |
| DockStateControllerBase |
ddcbase |
The DockStateControllerBase instance.
|
| System.Boolean |
banimate |
Indicates whether the Animation needs to specified or not.
|
| System.Boolean |
bActivateAfterShow |
Specifies whether control needs to be activated after shown.
|
Declaration
protected void ShowController_TickEventHandler(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Declaration
protected void StopAllAnimations()
Declaration
protected void StopHideAnimation()
Declaration
protected void StopShowAnimation()
Declaration
public void UpdateAHTabImage(DockStateControllerBase ddcbase)
Parameters
UpdateAHTabText(DockStateControllerBase)
Update the AH TabItem text.
Declaration
public void UpdateAHTabText(DockStateControllerBase ddcbase)
Parameters
Declaration
protected void UpdateOffice2007Theme()
Declaration
public void UpdateRenderer()
Implements
System.IDisposable
System.ComponentModel.ISupportInitialize