WinForms

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

    Show / Hide Table of Contents

    Class ThemedTabDrawing

    Manages the theme handle given a control and exposes some basic themed Drawing methods.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    ThemedControlDrawing
    ThemedTabDrawing
    Implements
    System.IDisposable
    Inherited Members
    ThemedControlDrawing.GetThemeSysColor(Int32)
    ThemedControlDrawing.GetThemeSysInt(Int32)
    ThemedControlDrawing.GetThemeSysString(Int32)
    ThemedControlDrawing.GetThemeSysSize(Int32)
    ThemedControlDrawing.GetThemeSysBool(Int32)
    ThemedControlDrawing.OpenThemeData()
    ThemedControlDrawing.CloseThemeData()
    ThemedControlDrawing.ResetThemeHandle()
    ThemedControlDrawing.RefreshThemeHandle()
    ThemedControlDrawing.DrawThemeBackground(Graphics, Int32, Int32, Rectangle)
    ThemedControlDrawing.DrawThemeBackground(Graphics, Int32, Int32, Rectangle, Rectangle)
    ThemedControlDrawing.DrawThemeText(Graphics, Int32, Int32, String, Rectangle, UInt32, UInt32)
    ThemedControlDrawing.DrawThemeText(Graphics, Int32, Int32, String, Rectangle, Int32, Int32)
    ThemedControlDrawing.GetPartSize(Graphics, Int32, Int32, Int32)
    ThemedControlDrawing.GetTextExtent(Graphics, Int32, Int32, String, Rectangle, UInt32)
    ThemedControlDrawing.HTheme
    ThemedControlDrawing.DrawMirrored
    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 ThemedTabDrawing : ThemedControlDrawing, IDisposable

    Constructors

    ThemedTabDrawing(TabControlAdv, String)

    Constructor of the ThemedTabDrawing.

    Declaration
    public ThemedTabDrawing(TabControlAdv tabControl, string classList)
    Parameters
    Type Name Description
    TabControlAdv tabControl

    The instance of the TabControlAdv.

    System.String classList

    Pointer to a string that contains a semicolon-separated list of classes, as expected in the OpenThemeData API.

    Methods

    DetachTabControl()

    Remove the tab control.

    Declaration
    public void DetachTabControl()

    Dispose(Boolean)

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

    DrawTabBackground(Graphics, ITabRenderer, Boolean, Rectangle)

    Draw the tab background.

    Declaration
    public void DrawTabBackground(Graphics g, ITabRenderer renderer, bool selectedTab, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object to draw the body of the tab.

    ITabRenderer renderer

    The instance of the ITabRenderer.

    System.Boolean selectedTab

    Indicates whether the selected tab.

    System.Drawing.Rectangle rect

    The rectangle of the tab.

    DrawTabBody(Graphics, Rectangle)

    Draw the body of the tab.

    Declaration
    public void DrawTabBody(Graphics g, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object to draw the body of the tab.

    System.Drawing.Rectangle rect

    The background System.Drawing.Rectangle to draw the TabPane.

    DrawTabBody(Graphics, Rectangle, Rectangle)

    Draw the themed background of the Tab Pane.

    Declaration
    public void DrawTabBody(Graphics g, Rectangle rect, Rectangle clipRect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object to draw the TabPane.

    System.Drawing.Rectangle rect

    The background System.Drawing.Rectangle to draw the TabPane.

    System.Drawing.Rectangle clipRect

    The clip rectangle to draw the background.

    DrawTabPane(Graphics, Rectangle)

    Draw the themed background of the Tab Pane.

    Declaration
    public void DrawTabPane(Graphics g, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    A System.Drawing.Graphics object to draw the TabPane.

    System.Drawing.Rectangle rect

    The background System.Drawing.Rectangle to draw the TabPane.

    Implements

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