Table of Contents

Class CodeCompletionBoxPainter

Namespace
Alternet.Editor.CodeCompletion.Painting
Assembly
Alternet.Editor.v9.dll

Represents a base class holds various data used in drawing surfaces. This class is abstract.

public abstract class CodeCompletionBoxPainter : PainterResources<CodeCompletionBoxPainterBrush, CodeCompletionBoxPainterPen, CodeCompletionBoxPainterImage, CodeCompletionBoxPainterImageList, CodeCompletionBoxPainterTextStyle>, IDisposable
Inheritance
CodeCompletionBoxPainter
Implements
Derived

Properties

BackgroundColor
BorderColor
BorderThickness

Gets thickness of the CategorizedCodeCompletionBox border.

CategoryFilterButtonHoveredColor
CategoryFilterButtonMargin

Gets margin of the button representing category filter.

CategoryFilterButtonPadding

Gets padding of the button representing category filter.

CategoryFilterButtonPressedColor
CategoryFilterToolbarBackgroundColor
ItemFocusRectangleColor
ItemImagePadding

Gets padding of the image part of the particular element in the CategorizedCodeCompletionBox.

ItemTextPadding

Gets padding of the text part of the particular element in the CategorizedCodeCompletionBox.

NoSuggestionsTextColor
NoSuggestionsTextMargin

Gets margin of the no-suggestions text displayed in the CategorizedCodeCompletionBox.

Methods

GetBackgroundColor()

Gets the background color of the CategorizedCodeCompletionBox control.

GetBorderColor()

Gets the border color of the CategorizedCodeCompletionBox control.

GetBrushDescription(CodeCompletionBoxPainterBrush)
GetImageDescription(CodeCompletionBoxPainterImage)
GetImageListDescription(CodeCompletionBoxPainterImageList)
GetPenDescription(CodeCompletionBoxPainterPen)
GetTextStyleDescription(CodeCompletionBoxPainterTextStyle)
MeasureNoSuggestionsText(string)

Retrieves the size, in pixels, of the specified text when drawn with the font defined for the no-suggestions text.

PaintBackground(Graphics, Rectangle)

Paints entire background of the IDataTip with specified parameters.

PaintButtonBackground(ControlState, Graphics, Rectangle)

Paints category button background on the graphics surface.

PaintButtonImage(Image, Graphics, Rectangle)

Paints image on the graphics surface.

PaintItemFocusRectangle(Graphics, Rectangle)

Paints focused rectangle on the graphics surface.

PaintNoSuggestionsText(Graphics, string, Rectangle)

Paints no-suggestion text on the graphics surface.