WinForms

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

    Show / Hide Table of Contents

    Class TabPanelProperty2D

    Represents the default tab properties for the TabRenderer2D tab style.

    Inheritance
    System.Object
    TabUIDefaultProperties
    TabPanelProperty2D
    BackStageRendererProperty
    FlatTabPanelProperty
    DockRendererPropertyOffice2007
    StyleRendererPropertyDockingWhidbey
    StyleRendererPropertyIE7
    StyleRendererPropertyOffice2007
    StyleRendererPropertyOffice2010
    StyleRendererPropertyVS2010
    TabPanelRendererOffice2016Black
    TabPanelRendererOffice2016Colorful
    TabPanelRendererOffice2016DarkGray
    TabPanelRendererOffice2016White
    Implements
    ITabDefaultProperties
    Inherited Members
    TabUIDefaultProperties.DefaultTabForeColor(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultActiveTabColor(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultFixedSingleBorderColor(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultTabPanelFont(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultInactiveTabFont(ITabPanelData, ITabControl)
    TabUIDefaultProperties.OnPaintPanelBackground(ITabControl, Graphics, Color, Rectangle)
    TabUIDefaultProperties.IsBackgroundSolid()
    TabUIDefaultProperties.DrawLeftToRight
    TabUIDefaultProperties.DrawEllipsis
    TabUIDefaultProperties.ShowInDesignMode
    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 TabPanelProperty2D : TabUIDefaultProperties, ITabDefaultProperties

    Constructors

    TabPanelProperty2D()

    Declaration
    public TabPanelProperty2D()

    Methods

    DefaultActiveTabFont(ITabPanelData, ITabControl)

    Returns the default active tab panel font. Overridden. See DefaultActiveTabFont(ITabPanelData, ITabControl).

    Declaration
    public override Font DefaultActiveTabFont(ITabPanelData panelData, ITabControl tabControl)
    Parameters
    Type Name Description
    ITabPanelData panelData

    The tab panel data.

    ITabControl tabControl

    The tab control.

    Returns
    Type Description
    System.Drawing.Font

    A Font value.

    Overrides
    TabUIDefaultProperties.DefaultActiveTabFont(ITabPanelData, ITabControl)
    Remarks

    Returns the default inactive tab font, after making it bold.

    DefaultInactiveTabColor(ITabPanelData, ITabControl)

    Returns the default Inactive TabColor. Overridden. See DefaultInactiveTabColor(ITabPanelData, ITabControl).

    Declaration
    public override Color DefaultInactiveTabColor(ITabPanelData panelData, ITabControl tabControl)
    Parameters
    Type Name Description
    ITabPanelData panelData

    The tab panel data.

    ITabControl tabControl

    The tab control.

    Returns
    Type Description
    System.Drawing.Color

    A Color value.

    Overrides
    TabUIDefaultProperties.DefaultInactiveTabColor(ITabPanelData, ITabControl)
    Remarks

    This implementation returns the tab control's BackColor.

    DefaultTabPanelBackgroundColor(ITabPanelData, ITabControl)

    Returns the default backcolor for the panel. Overridden. See DefaultTabPanelBackgroundColor(ITabPanelData, ITabControl).

    Declaration
    public override Color DefaultTabPanelBackgroundColor(ITabPanelData panelData, ITabControl tabControl)
    Parameters
    Type Name Description
    ITabPanelData panelData

    The tab panel data.

    ITabControl tabControl

    The tab control.

    Returns
    Type Description
    System.Drawing.Color

    A Color value.

    Overrides
    TabUIDefaultProperties.DefaultTabPanelBackgroundColor(ITabPanelData, ITabControl)
    Remarks

    This implementation returns the tab control's BackColor.

    GetOverlapSize(SizeF)

    Returns the overlap size. Overridden. See GetOverlapSize(SizeF).

    Declaration
    public override SizeF GetOverlapSize(SizeF tabSize)
    Parameters
    Type Name Description
    System.Drawing.SizeF tabSize
    Returns
    Type Description
    System.Drawing.SizeF

    The overlap size.

    Overrides
    TabUIDefaultProperties.GetOverlapSize(SizeF)
    Remarks

    This implementation returns (0, 0).

    Implements

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