Table of Contents

Interface IToolboxPainter

Namespace
Alternet.FormDesigner.WinForms.Toolbox
Assembly
Alternet.FormDesigner.v9.dll

Provides an interface to draw toolbox item.

public interface IToolboxPainter

Properties

BackgroundColor

When implemented by a class, gets the background color of the toolbox categories and items.

CategoryImageWidth
SearchButtonWidth
SearchControlBorderThickness
SearchControlHeight
SearchTextBoxLeftPadding

Methods

GetCategoryHeaderHeight(ToolboxCategoryHeaderPaintData)

When implemented by a class, returns height of given category's header.

GetItemHeight(ToolboxItemPaintData)

When implemented by a class, returns height of given item.

GetSearchTextBoxColors(ControlState, out Color, out Color, out Color)
PaintCategoryHeader(ToolboxCategoryHeaderPaintData)

When implemented by a class, draws specific category header.

PaintNoResultsFound(Graphics, Rectangle, Font)
PaintSearchButton(Graphics, Rectangle, ControlState, ToolboxSearchButtonImage)
PaintSearchControl(Graphics, Rectangle, ControlState)
PaintToolboxItem(ToolboxItemPaintData)

When implemented by a class, draws specific item.