menu

WinForms

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

    Show / Hide Table of Contents

    Interface IStyleRenderer

    The IStyleRenderer interface.

    Namespace: Syncfusion.Windows.Forms.Tools.Renderers
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IStyleRenderer

    Properties

    BorderWidth

    Declaration
    int BorderWidth { get; }
    Property Value
    Type
    System.Int32

    CaptionBounds

    Declaration
    Rectangle CaptionBounds { get; }
    Property Value
    Type
    System.Drawing.Rectangle

    CaptionWidth

    Declaration
    int CaptionWidth { get; }
    Property Value
    Type
    System.Int32

    ControlBounds

    Declaration
    Rectangle ControlBounds { get; set; }
    Property Value
    Type
    System.Drawing.Rectangle

    IsMirrored

    Declaration
    bool IsMirrored { get; set; }
    Property Value
    Type
    System.Boolean

    ThickBorderWidth

    Declaration
    int ThickBorderWidth { get; }
    Property Value
    Type
    System.Int32

    ThinBorderWidth

    Declaration
    int ThinBorderWidth { get; }
    Property Value
    Type
    System.Int32

    Methods

    GetHighlightedButtonIndex()

    Declaration
    int GetHighlightedButtonIndex()
    Returns
    Type
    System.Int32

    GetHitButton()

    Declaration
    CaptionButton GetHitButton()
    Returns
    Type
    CaptionButton

    GetHitButtonIndex()

    Declaration
    int GetHitButtonIndex()
    Returns
    Type
    System.Int32

    HitTest(MouseButtons, Point)

    Declaration
    HitTestArea HitTest(MouseButtons button, Point point)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseButtons button
    System.Drawing.Point point
    Returns
    Type
    HitTestArea

    PaintAutoHidePanels(Graphics, Rectangle, AutoHideSide)

    Declaration
    void PaintAutoHidePanels(Graphics g, Rectangle rectangle, AutoHideSide side)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rectangle
    AutoHideSide side

    PaintDockedControl(Graphics, Rectangle, PaintDockControlArgs)

    Declaration
    void PaintDockedControl(Graphics g, Rectangle rectangle, PaintDockControlArgs args)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rectangle
    PaintDockControlArgs args

    PaintSplitter(Graphics, Rectangle, Orientation)

    Declaration
    void PaintSplitter(Graphics g, Rectangle rectangle, Orientation orientation)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rectangle
    System.Windows.Forms.Orientation orientation

    RefreshColors()

    Declaration
    bool RefreshColors()
    Returns
    Type
    System.Boolean

    RefreshOffice2007Theme(Office2007Theme)

    Declaration
    void RefreshOffice2007Theme(Office2007Theme newTheme)
    Parameters
    Type Name Description
    Office2007Theme newTheme

    RefreshOffice2010Theme(Office2010Theme)

    Declaration
    void RefreshOffice2010Theme(Office2010Theme newTheme)
    Parameters
    Type Name Description
    Office2010Theme newTheme

    RefreshPaintInfo(Rectangle, PaintDockControlArgs)

    Declaration
    void RefreshPaintInfo(Rectangle rectangle, PaintDockControlArgs args)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rectangle
    PaintDockControlArgs args

    ResetCaptionButtonsIndices()

    Declaration
    void ResetCaptionButtonsIndices()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved