Class TabPrimitivesHost
The TabPrimitivesHost class contains the TabPrimitive information.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TabPrimitivesHost : Disposable, IDisposable
Properties
Alignment
Gets or sets host alignment.
Declaration
public TabPrimitiveHostAlignment Alignment { get; set; }
Property Value
Type |
---|
TabPrimitiveHostAlignment |
Bounds
Gets bounds.
Declaration
public Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Location
Gets this control location.
Declaration
public Point Location { get; }
Property Value
Type |
---|
System.Drawing.Point |
NeedLayout
Gets or sets a value indicating whether layout needed or not.
Declaration
public bool NeedLayout { get; set; }
Property Value
Type |
---|
System.Boolean |
ShouldShowToolTips
Gets a value indicating whether tooltips should be shown.
Declaration
protected bool ShouldShowToolTips { get; }
Property Value
Type |
---|
System.Boolean |
Size
Gets this control size.
Declaration
public Size Size { get; }
Property Value
Type |
---|
System.Drawing.Size |
TabControl
Gets parent tab control.
Declaration
public TabControlAdv TabControl { get; }
Property Value
Type |
---|
TabControlAdv |
TabPrimitives
Gets Collection of primitives.
Declaration
public TabPrimitivesCollection TabPrimitives { get; }
Property Value
Type |
---|
TabPrimitivesCollection |
ToolTipText
Gets the toolTip text.
Declaration
protected string ToolTipText { get; }
Property Value
Type |
---|
System.String |
Visible
Gets or sets a value indicating whether control is visible or not.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
CalculatePrimitivesLocation()
Calculate child primitive location.
Declaration
protected virtual void CalculatePrimitivesLocation()
CalculateSize()
Calculate control size.
Declaration
protected virtual void CalculateSize()
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
Remarks
See the documentation for the System.ComponentModel.Component class and its Dispose member.
Layout()
Declaration
public virtual void Layout()
OnButtonClick(TabPrimitive)
Occurs when TabPrimtive buttons clicked.
Declaration
protected virtual void OnButtonClick(TabPrimitive primitive)
Parameters
Type | Name | Description |
---|---|---|
TabPrimitive | primitive | The instance of the TabPrimitive. |
RefreshPrimitiveEnabled()
Refresh child primitive CanClick properties.
Declaration
public virtual void RefreshPrimitiveEnabled()
ResetAlignment()
Declaration
public virtual void ResetAlignment()
ShouldSerializeAlignment()
Indicates whether the current value of the Alignment property is to be serialized.
Declaration
protected virtual bool ShouldSerializeAlignment()
Returns
Type | Description |
---|---|
System.Boolean | The alignment of the TabPrimitiveHost. |
ShowToolTip(String)
Shows or hides the toolTip window.
Declaration
protected void ShowToolTip(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text to show in toolTip. If text is null or empty string, toolTip is hidden. |
StartShowingToolTip(Int32)
Starts showing tooltips.
Declaration
protected void StartShowingToolTip(int interval)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | interval | Tootip interval |
StopShowingToolTip()
Stops showing tooltips
Declaration
protected void StopShowingToolTip()