menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolStripTabItem - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ToolStripTabItem

    ToolStripTabItem class. Represents a selectable ToolStripButton that can contain text and images.

    Inheritance
    System.Object
    ToolStripTabItem
    Implements
    IToolStripTabItem
    IShortcutSupport
    System.ComponentModel.ICustomTypeDescriptor
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ToolStripTabItem : ToolStripButton, IToolStripTabItem, IShortcutSupport, ICustomTypeDescriptor

    Constructors

    ToolStripTabItem()

    Constructor of the ToolStripTabItem.

    Declaration
    public ToolStripTabItem()

    Properties

    Font

    Gets or sets the System.Drawing.Font value for the Tab of RibbonControlAdv control.

    Declaration
    public override Font Font { get; set; }
    Property Value
    Type
    System.Drawing.Font

    Padding

    Gets / Sets the Padding of the ToolStripTabItem.

    Declaration
    public override Padding Padding { get; set; }
    Property Value
    Type
    System.Windows.Forms.Padding

    Panel

    Gets / Sets the Ribbon panel.

    Declaration
    public RibbonPanel Panel { get; set; }
    Property Value
    Type
    RibbonPanel

    Position

    Gets or sets the zero based index position of Tab items.

    Declaration
    public int Position { get; set; }
    Property Value
    Type
    System.Int32

    Selected

    Gets whether the control is selected or not.

    Declaration
    public override bool Selected { get; }
    Property Value
    Type
    System.Boolean

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    GetPreferredSize(Size)

    Retrieves the size of a rectangular area into which a control can be fitted.

    Declaration
    public override Size GetPreferredSize(Size constrainingSize)
    Parameters
    Type Name Description
    System.Drawing.Size constrainingSize

    The custom-sized area for a control.

    Returns
    Type Description
    System.Drawing.Size

    An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.

    OnCheckStateChanged(EventArgs)

    Declaration
    protected override void OnCheckStateChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnTextChanged(EventArgs)

    Declaration
    protected override void OnTextChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    Explicit Interface Implementations

    IShortcutSupport.ProcessShortcut()

    Declaration
    void IShortcutSupport.ProcessShortcut()

    Implements

    IToolStripTabItem
    IShortcutSupport
    System.ComponentModel.ICustomTypeDescriptor
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved