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
-
PainterResources<VsControlsPainterBrush, VsControlsPainterPen, VsControlsPainterImage, VsControlsPainterImageList, VsControlsPainterTextStyle>VsControlsPainter
- Implements
- Derived
Properties
- ButtonImagePadding
Gets padding of the image on the button.
- DropDownGlyphPadding
Gets padding of the drop-down glyph.
- PopupBorderThickness
Represents width of the popup border.
Methods
- 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.