menu

WinForms

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

    Show / Hide Table of Contents

    Interface IDockingManagerRenderer

    Provides the interface for DockingManagerRenderer for rendering the docking manager with the different themed color.

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

    Properties

    BorderWidth

    Returns the width of the Border.

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

    CaptionBounds

    Gets the bounds of caption.

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

    CaptionWidth

    Returns the width of the caption.

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

    ControlBounds

    Get/sets the bounds of the control.

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

    IsMirrored

    Indicates the whether the caption to be painted from RTL or not.

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

    VisualStyle

    Gets/Sets the VisualStyle for docking windows.

    Declaration
    VisualStyle VisualStyle { get; set; }
    Property Value
    Type
    VisualStyle

    Methods

    GetHighlightedButtonIndex()

    Returns index of button that is currently highlighted.

    Declaration
    int GetHighlightedButtonIndex()
    Returns
    Type
    System.Int32

    GetHitButton()

    /// Returns CaptionButton for HitTestArea.Button hit test result.

    Declaration
    CaptionButton GetHitButton()
    Returns
    Type
    CaptionButton

    GetHitButtonIndex()

    Returns index of button for HitTestArea.Button hit test result.

    Declaration
    int GetHitButtonIndex()
    Returns
    Type
    System.Int32

    HitTest(MouseButtons, Point)

    Returns the HitTest area on the docking caption.

    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)

    Draws the AutoHide panels.

    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)

    Draws the docking windows.

    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)

    Draws the splitter control.

    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()

    Initializes color scheme in accordance with current theme.

    Declaration
    void RefreshColors()

    RefreshOffice2007Theme(Office2007Theme)

    Initializes Office2007 colors according to given theme.

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

    RefreshOffice2010Theme(Office2010Theme)

    Initializes Office2010 colors according to given theme.

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

    RefreshPaintInfo(Rectangle, PaintDockControlArgs)

    Refreshes renderer's info about painted docked control.

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

    ResetButtonsHitTest()

    Resets all data related to last performed hit test.

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