WinForms

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

    Show / Hide Table of Contents

    Class SfTabbedFormControl

    Represents the control that provides the options to load tabs in SfTabbedForm.

    Inheritance
    System.Object
    BaseControl
    SfTabbedFormControl
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    Inherited Members
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.GetActiveThemeName()
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.ThemeName
    BaseControl.CanOverrideStyle
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.CanApplyTheme
    BaseControl.ControlName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.IsVisualStyleEnabled
    BaseControl.ThemeNameChanged
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class SfTabbedFormControl : BaseControl, IThemeProvider, IVisualStyle, IDisposable

    Constructors

    SfTabbedFormControl()

    Initializes a new instance of the SfTabbedFormControl class.

    Declaration
    public SfTabbedFormControl()

    Properties

    AllowDraggingTabs

    Gets or sets a value indicating whether the tabs can be repositioned by using mouse or touch.

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

    SelectedIndex

    Gets or sets the index of the currently selected tab page.

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

    SelectedTab

    Gets or sets the currently selected tab page.

    Declaration
    public TabPageAdv SelectedTab { get; set; }
    Property Value
    Type Description
    TabPageAdv

    ShowCloseButtonForActiveTabOnly

    Gets or sets a value indicating whether inactive tab close button should be visible or not.

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

    ShowTabCloseButton

    Gets or sets a value indicating whether close button should be visible for each tab.

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

    Style

    Declaration
    public TabbedFormVisualStyle Style { get; }
    Property Value
    Type Description
    TabbedFormVisualStyle

    TabContextMenu

    Gets or sets the context menu that appears on the tabs.

    Declaration
    public ContextMenuStrip TabContextMenu { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ContextMenuStrip

    TabPrimitiveMode

    Gets or sets a value indicating the tab primitive mode for the tab navigation.

    Declaration
    public TabPrimitiveMode TabPrimitiveMode { get; set; }
    Property Value
    Type Description
    TabPrimitiveMode

    Tabs

    Gets or sets the collection of tabs.

    Declaration
    public Control.ControlCollection Tabs { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Control.ControlCollection

    Methods

    Dispose(Boolean)

    Clean up any resources being used.

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

    true if managed resources should be disposed; otherwise, false.

    GetControlName(String)

    Helps to apply the ControlName settings in control

    Declaration
    public override string GetControlName(string controlName)
    Parameters
    Type Name Description
    System.String controlName

    The name of the control

    Returns
    Type Description
    System.String

    Returns the control name.

    Overrides
    BaseControl.GetControlName(String)

    OnThemeNameChanged(String)

    Helps to apply the ThemeName settings in control

    Declaration
    public override void OnThemeNameChanged(string themeName)
    Parameters
    Type Name Description
    System.String themeName

    The ThemeName of the Control

    Overrides
    BaseControl.OnThemeNameChanged(String)

    Events

    ContextMenuOpening

    Occurs when context menu on the tab is opening.

    Declaration
    public event EventHandler<ContextMenuOpeningEventArgs> ContextMenuOpening
    Event Type
    Type Description
    System.EventHandler<ContextMenuOpeningEventArgs>

    SelectedIndexChanged

    Occurs when the selected index of tab has been changed.

    Declaration
    public event EventHandler SelectedIndexChanged
    Event Type
    Type Description
    System.EventHandler

    SelectedIndexChanging

    Occurs when the selected index of tab is changing.

    Declaration
    public event SelectedIndexChangingEventHandler SelectedIndexChanging
    Event Type
    Type Description
    SelectedIndexChangingEventHandler

    TabDragging

    Declaration
    public event EventHandler<TabDraggingEventArgs> TabDragging
    Event Type
    Type Description
    System.EventHandler<TabDraggingEventArgs>

    TabPrimitiveClick

    Occurs when click on the tab navigation button.

    Declaration
    public event EventHandler<TabPrimitiveClickEventArgs> TabPrimitiveClick
    Event Type
    Type Description
    System.EventHandler<TabPrimitiveClickEventArgs>

    Implements

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