WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TabPrimitivesHost

    Show / Hide Table of Contents

    Class TabPrimitivesHost

    The TabPrimitivesHost class contains the TabPrimitive information.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    TabPrimitivesHost
    Implements
    System.IDisposable
    Inherited Members
    NonFinalizeDisposable.Dispose()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    TabPrimitiveHostAlignment

    Bounds

    Gets bounds.

    Declaration
    public Rectangle Bounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Location

    Gets this control location.

    Declaration
    public Point Location { get; }
    Property Value
    Type Description
    System.Drawing.Point

    NeedLayout

    Gets or sets a value indicating whether layout needed or not.

    Declaration
    public bool NeedLayout { get; set; }
    Property Value
    Type Description
    System.Boolean

    ShouldShowToolTips

    Gets a value indicating whether tooltips should be shown.

    Declaration
    protected bool ShouldShowToolTips { get; }
    Property Value
    Type Description
    System.Boolean

    Size

    Gets this control size.

    Declaration
    public Size Size { get; }
    Property Value
    Type Description
    System.Drawing.Size

    TabControl

    Gets parent tab control.

    Declaration
    public TabControlAdv TabControl { get; }
    Property Value
    Type Description
    TabControlAdv

    TabPrimitives

    Gets Collection of primitives.

    Declaration
    public TabPrimitivesCollection TabPrimitives { get; }
    Property Value
    Type Description
    TabPrimitivesCollection

    ToolTipText

    Gets the toolTip text.

    Declaration
    protected string ToolTipText { get; }
    Property Value
    Type Description
    System.String

    Visible

    Gets or sets a value indicating whether control is visible or not.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    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
    NonFinalizeDisposable.Dispose(Boolean)
    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()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved