C# Class ComponentFactory.Krypton.Navigator.ViewLayoutDockerOverlap

Override to draw tab items overlapping a group border and draw the selected tab item last.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLayoutDocker
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
RenderAfter ( RenderContext context ) : void

Perform rendering after child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewLayoutDockerOverlap ( ViewDrawCanvas drawCanvas, ViewLayoutInsetOverlap layoutOverlap, ViewLayoutBarForTabs layoutTabs ) : System

Initialize a new instance of the ViewLayoutDockerOverlap class.

Protected Methods

Method Description
UpdateFillerRect ( Rectangle fillerRect, Control control ) : Rectangle

Allow the filler rectangle calculated by Layout to be modified before use.

UpdatePreferredSize ( Size preferredSize ) : Size

Allow the preferred size calculated by GetPreferredSize to be modified before use.

Method Details

RenderAfter() public method

Perform rendering after child elements are rendered.
public RenderAfter ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

UpdateFillerRect() protected method

Allow the filler rectangle calculated by Layout to be modified before use.
protected UpdateFillerRect ( Rectangle fillerRect, Control control ) : Rectangle
fillerRect System.Drawing.Rectangle Original filler rectangle.
control System.Windows.Forms.Control Owning control instance.
return System.Drawing.Rectangle

UpdatePreferredSize() protected method

Allow the preferred size calculated by GetPreferredSize to be modified before use.
protected UpdatePreferredSize ( Size preferredSize ) : Size
preferredSize System.Drawing.Size Original preferred size value.
return System.Drawing.Size

ViewLayoutDockerOverlap() public method

Initialize a new instance of the ViewLayoutDockerOverlap class.
public ViewLayoutDockerOverlap ( ViewDrawCanvas drawCanvas, ViewLayoutInsetOverlap layoutOverlap, ViewLayoutBarForTabs layoutTabs ) : System
drawCanvas ComponentFactory.Krypton.Toolkit.ViewDrawCanvas Canvas used to recover border width/rounding for overlapping.
layoutOverlap ViewLayoutInsetOverlap Overlapping element.
layoutTabs ViewLayoutBarForTabs Tab item container element.
return System