Class PlessControlPainterHandler
Provides methods to paint and measure control parts such as checkboxes, expanders, and header buttons.
public class PlessControlPainterHandler : DisposableObject, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, IControlPainterHandler, IDisposable
- Inheritance
-
PlessControlPainterHandler
- Implements
Fields
- CheckBoxImageChecked
Gets or sets the SVG image used when the checkbox is checked.
- CheckBoxImageIndeterminate
Gets or sets the SVG image used when the checkbox is in an indeterminate state.
- CheckBoxImageUnchecked
Gets or sets the SVG image used when the checkbox is unchecked.
- CheckBoxStateColors
Gets or sets the colors associated with different visual states of a checkbox.
- DefaultCheckBoxColor
Gets or sets the default color of a checkbox in its normal state.
- DefaultCheckBoxSize
Gets or sets the default size of a checkbox in device-independent units.
- DefaultCheckMarkSize
Gets or sets the default size of a check mark in device-independent units.
- DefaultCollapseButtonSize
Gets or sets the default size of a collapse button in device-independent units.
- DefaultExpanderSize
Gets or sets the default size of an expander in device-independent units.
- DefaultHeaderButtonHeight
Gets or sets the default height of a header button in device-independent units.
- DefaultHeaderButtonMargin
Gets or sets the default margin of a header button's label in device-independent units.
Methods
- DrawCheckBoxSvg(AbstractControl, Graphics, RectD, CheckState, VisualControlState)
Draws a checkbox using SVG images.
- GetCheckBoxSize(AbstractControl, CheckState, VisualControlState)
Gets default checkbox size.
- GetCheckBoxSvg(CheckState)
Gets the SVG image corresponding to the specified checkbox state.
- GetCheckMarkSize(AbstractControl)
Returns the default size of a check mark in dips.
- GetCollapseButtonSize(AbstractControl, Graphics)
Returns the default size of a collapse button in dips.
- GetExpanderSize(AbstractControl)
Returns the default size of a expander in dips.
- GetHeaderButtonHeight(AbstractControl)
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(AbstractControl)
Returns the margin on left and right sides of header button's label in dips.