HypernovaDesktop Components · docs
Binarymission
WinFormsPower Tab Strip › IPowerTabStripElementsRenderer

IPowerTabStripElementsRenderer

interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TabControls

An interface to plug in a custom renderer to use when BinaryPowerTabStrip Control renders its overflow menu object.

public interface IPowerTabStripElementsRenderer

Remarks

In order for this feature to apply, you will need to ensure to set the following properties in the Control:
1. OverflowMenuGlyphDrawnInEnlargedMode to true.
2. OverflowMenuGlyphSize to a desired size based on what you will be custom drawing using your custom renderer implementation.
3. TabPageHeaderHeight to a reasonable height value vis-a-vis the custom drawn menu host visual (say, at least the height value in the desired OverflowMenuGlyphSize).

Members at a glance

RenderOverflowMenuGraphicImplements custom drawing of the Overflow menu object.

Methods

RenderOverflowMenuGraphic

void RenderOverflowMenuGraphic( Graphics renderingGraphicContext, Rectangle drawingSurfaceBounds, OverflowMenuGlyphVisualState overflowMenuGlyphVisualState)

Implements custom drawing of the Overflow menu object.

renderingGraphicContext
The graphics context where the custom rendering draws onto.
drawingSurfaceBounds
The graphics surface boundary (rectangle) of the overflow menu object.
overflowMenuGlyphVisualState
The current visual state OverflowMenuGlyphVisualState of the overflow menu object.