Table of Contents

Class WxControlPainterHandler

Namespace
Alternet.Drawing
Assembly
Alternet.UI.dll

Draws control parts using native operating system visual style.

public class WxControlPainterHandler : DisposableObject, IBaseObject, IDisposableObject, IControlPainterHandler, IDisposable
Inheritance
WxControlPainterHandler
Implements

Constructors

WxControlPainterHandler()

Initializes a new instance of the WxControlPainterHandler class.

Methods

Convert(CheckState, VisualControlState)

Converts CheckState and VisualControlState to WxControlPainterHandler.DrawFlags.

DrawCheckBox(Control, Graphics, RectD, DrawFlags)

Draws check button.

DrawCheckBox(Control, Graphics, RectD, CheckState, VisualControlState)

Draws checkbox.

DrawCheckMark(Control, Graphics, RectD, DrawFlags)

Draws check mark.

DrawChoice(Control, Graphics, RectD, DrawFlags)

Draws a native choice control.

DrawCollapseButton(Control, Graphics, RectD, DrawFlags)

Draws collapse button.

DrawComboBox(Control, Graphics, RectD, DrawFlags)

Draws a native ComboBox frame.

DrawComboBoxDropButton(Control, Graphics, RectD, DrawFlags)

Draws a combobox dropdown button.

DrawDropArrow(Control, Graphics, RectD, DrawFlags)

Draws a dropdown arrow.

DrawFocusRect(Control, Graphics, RectD, DrawFlags)

Draws the focus rectangle around the label contained in the given rect.

DrawGauge(Control, Graphics, RectD, int, int, DrawFlags)

Draws a gauge with native style.

DrawHeaderButton(Control, Graphics, RectD, DrawFlags, HeaderSortIconType, HeaderButtonParams?)

Draws the header control button (used, for example, by ListView like controls).

DrawHeaderButtonContents(Control, Graphics, RectD, DrawFlags, HeaderSortIconType, HeaderButtonParams?)

Draws the contents of a header control button (label, sort arrows, etc.). Normally only called by DrawHeaderButton(Control, Graphics, RectD, DrawFlags, HeaderSortIconType, HeaderButtonParams?).

DrawItem(ControlPartKind, Control, Graphics, RectD, DrawFlags, DrawItemParams?)

Draws item specified with kind.

DrawItemSelectionRect(Control, Graphics, RectD, DrawFlags)

Draws rectangle indicating that an item in e.g. a list control has been selected or focused.

DrawItemText(Control, Graphics, string, RectD, GenericAlignment, DrawFlags, TextEllipsizeType)

Draws text using the appropriate color for normal and selected states.

DrawPushButton(Control, Graphics, RectD, DrawFlags)

Draws blank button.

DrawRadioBitmap(Control, Graphics, RectD, DrawFlags)

Draws a native RadioButton bitmap.

DrawSplitterBorder(Control, Graphics, RectD, DrawFlags)

Draws the border for sash window: this border must be such that the sash drawn by DrawSplitterSash(Control, Graphics, SizeD, double, GenericOrientation, DrawFlags) blends into it well.

DrawSplitterSash(Control, Graphics, SizeD, double, GenericOrientation, DrawFlags)

Draw a (vertical) splitter sash.

DrawTextCtrl(Control, Graphics, RectD, DrawFlags)

Draws a native TextBox frame.

DrawTreeItemButton(Control, Graphics, RectD, DrawFlags)

Draws the expanded/collapsed icon for a tree control item.

GetCheckBoxSize(Control, DrawFlags)

Returns the default size of a check box in dips.

GetCheckBoxSize(Control, CheckState, VisualControlState)

Gets default checkbox size.

GetCheckMarkSize(Control)

Returns the default size of a check mark in dips.

GetCollapseButtonSize(Control, Graphics)

Returns the default size of a collapse button in dips.

GetExpanderSize(Control)

Returns the default size of a expander in dips.

GetHeaderButtonHeight(Control)

Returns the default height of a header button in dips, either a fixed platform height if available, or a generic height based on the window's font.

GetHeaderButtonMargin(Control)

Returns the margin on left and right sides of header button's label in dips.

GetVersion()

Gets version of the renderer.