Interface IControlPainterHandler
Contains methods which can paint and measure control parts. For example, DrawCheckBox(AbstractControl, Graphics, RectD, CheckState, VisualControlState) method paints check box in different states.
public interface IControlPainterHandler : IDisposable
Methods
- GetCheckBoxSize(AbstractControl, CheckState, VisualControlState)
Gets default checkbox size.
- 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.