WinForms

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

    Show / Hide Table of Contents

    Class DockRendererPropertyOffice2007

    Represents the Office2007 tab properties for the TabRenderer2D tab style.

    Inheritance
    System.Object
    TabUIDefaultProperties
    TabPanelProperty2D
    DockRendererPropertyOffice2007
    Implements
    ITabDefaultProperties
    Inherited Members
    TabPanelProperty2D.DefaultTabPanelBackgroundColor(ITabPanelData, ITabControl)
    TabPanelProperty2D.DefaultInactiveTabColor(ITabPanelData, ITabControl)
    TabPanelProperty2D.DefaultActiveTabFont(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultActiveTabColor(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultFixedSingleBorderColor(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultTabPanelFont(ITabPanelData, ITabControl)
    TabUIDefaultProperties.DefaultInactiveTabFont(ITabPanelData, ITabControl)
    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.Renderers
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DockRendererPropertyOffice2007 : TabPanelProperty2D, ITabDefaultProperties

    Constructors

    DockRendererPropertyOffice2007()

    Declaration
    public DockRendererPropertyOffice2007()

    Methods

    DefaultTabForeColor(ITabPanelData, ITabControl)

    Returns the default fore color for the tabs.

    Declaration
    public override Color DefaultTabForeColor(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.DefaultTabForeColor(ITabPanelData, ITabControl)
    Remarks

    This implementation returns SystemColors.WindowText.

    GetOverlapSize(SizeF)

    Returns the size by which the selected tab overlaps the inactive tabs.

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

    OnPaintPanelBackground(ITabControl, Graphics, Color, Rectangle)

    Draws the background of the tab panel.

    Declaration
    public override void OnPaintPanelBackground(ITabControl tabControl, Graphics g, Color bgColor, Rectangle bounds)
    Parameters
    Type Name Description
    ITabControl tabControl

    The parent ITabControl implementation.

    System.Drawing.Graphics g

    The Graphics into which to draw.

    System.Drawing.Color bgColor

    The background color.

    System.Drawing.Rectangle bounds

    The rectangular bounds of the tab panel.

    Overrides
    TabUIDefaultProperties.OnPaintPanelBackground(ITabControl, Graphics, Color, Rectangle)

    Implements

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