Class DockingManagerRenderer
Rendering the docking manager with specified visual style.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.Renderers
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DockingManagerRenderer : IDockingManagerRenderer
Constructors
DockingManagerRenderer()
Creates the instances of the DockingManagerRenderer.
Declaration
public DockingManagerRenderer()
Fields
StyleRenderer
Declaration
protected IStyleRenderer StyleRenderer
Field Value
Type |
---|
IStyleRenderer |
Properties
BorderWidth
Returns the width of the Border.
Declaration
public virtual int BorderWidth { get; }
Property Value
Type |
---|
System.Int32 |
CaptionBounds
Gets the bounds of caption.
Declaration
public Rectangle CaptionBounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
CaptionWidth
Returns the width of the caption.
Declaration
public virtual int CaptionWidth { get; }
Property Value
Type |
---|
System.Int32 |
ControlBounds
Get/sets the bounds of the control.
Declaration
public Rectangle ControlBounds { get; set; }
Property Value
Type |
---|
System.Drawing.Rectangle |
FloatBorderSize
Gets/Sets the FloatBorderSize.
Declaration
public int FloatBorderSize { get; set; }
Property Value
Type |
---|
System.Int32 |
IsMirrored
Indicates the whether the caption to be painted from RTL or not.
Declaration
public bool IsMirrored { get; set; }
Property Value
Type |
---|
System.Boolean |
ThickBorderWidth
Returns the width of the thick border.
Declaration
public virtual int ThickBorderWidth { get; }
Property Value
Type |
---|
System.Int32 |
ThinBorderWidth
Returns the width of the thin border.
Declaration
public virtual int ThinBorderWidth { get; }
Property Value
Type |
---|
System.Int32 |
VisualStyle
Gets/sets the Visual Style of the docking windows.
Declaration
public VisualStyle VisualStyle { get; set; }
Property Value
Type |
---|
VisualStyle |
Methods
GetHighlightedButtonIndex()
Returns index of button that is currently highlighted.
Declaration
public virtual int GetHighlightedButtonIndex()
Returns
Type |
---|
System.Int32 |
GetHitButton()
/// Returns CaptionButton for HitTestArea.Button hit test result.
Declaration
public virtual CaptionButton GetHitButton()
Returns
Type |
---|
CaptionButton |
GetHitButtonIndex()
Returns index of caption button at the specified point.
Declaration
public virtual int GetHitButtonIndex()
Returns
Type |
---|
System.Int32 |
HitTest(MouseButtons, Point)
Returns the HitTest area on the docking caption.
Declaration
public virtual 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
public virtual 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
public virtual 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
public virtual 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
public virtual void RefreshColors()
RefreshOffice2007Theme(Office2007Theme)
Initializes Office2007 colors according to given theme.
Declaration
public virtual void RefreshOffice2007Theme(Office2007Theme newTheme)
Parameters
Type | Name | Description |
---|---|---|
Office2007Theme | newTheme |
RefreshOffice2010Theme(Office2010Theme)
Initializes Office2010 colors according to given theme.
Declaration
public virtual void RefreshOffice2010Theme(Office2010Theme newTheme)
Parameters
Type | Name | Description |
---|---|---|
Office2010Theme | newTheme |
RefreshPaintInfo(Rectangle, PaintDockControlArgs)
Refreshes renderer's info about painted docked control.
Declaration
public virtual 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
public void ResetButtonsHitTest()