Table of Contents

Class VsControlsPainter

Namespace
Alternet.Editor.Dialogs.VsControls.Painting
Assembly
Alternet.Editor.v9.dll

Encapsulates a drawing surface, providing properties and methods used to draw Visual-studio like controls.

public abstract class VsControlsPainter : PainterResources<VsControlsPainterBrush, VsControlsPainterPen, VsControlsPainterImage, VsControlsPainterImageList, VsControlsPainterTextStyle>, IDisposable
Inheritance
VsControlsPainter
Implements
Derived

Properties

ButtonHoveredColor
ButtonImagePadding

Gets padding of the image on the button.

ButtonPressedColor
ControlBackgroundColor
ControlTextNormalColor
DropDownGlyphPadding

Gets padding of the drop-down glyph.

GlyphThemeColor
PopupBorderColor
PopupBorderThickness

Represents width of the popup border.

ToggleButtonHoveredColor
ToggleButtonPressedBorderColor

Methods

GetBrushDescription(VsControlsPainterBrush)
GetImageDescription(VsControlsPainterImage)
GetImageListDescription(VsControlsPainterImageList)
GetPenDescription(VsControlsPainterPen)
GetTextStyleDescription(VsControlsPainterTextStyle)
PaintButton(ControlState, Image, string, Graphics, Rectangle)

Paints button with specified parameters.

PaintPanelBackground(ControlState, Graphics, Rectangle)

Paints panel background with specified parameters.

PaintPopupBackground(Graphics, Region)

Paints entire background with specified parameters.

PaintPopupBorder(Graphics, Rectangle)

Paints PopupBorder element with specified parameters.

PaintToggleButton(ControlState, VsToggleButtonAppearanceMode, Image, string, Graphics, Rectangle)

Paints toggle button with specified parameters.