Interface IToggleButtonRenderer
Provides the functionality for all button renderers in a ToggleButton.
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public interface IToggleButtonRenderer
Methods
DrawButton(PaintEventArgs, ToggleButtonState, DisplayType, Font, ActiveStateCollection, InactiveStateCollection, RightToLeft, Boolean, ToggleButton)
Method for Drawing the Button Frame for ToggleButton
Declaration
void DrawButton(PaintEventArgs e, ToggleButtonState toggleState, DisplayType displayMode, Font font, ActiveStateCollection activeState, InactiveStateCollection inactiveState, RightToLeft righttoLeft, bool isMouseHover, ToggleButton toggleButton)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | |
ToggleButtonState | toggleState | |
DisplayType | displayMode | |
System.Drawing.Font | font | |
ActiveStateCollection | activeState | |
InactiveStateCollection | inactiveState | |
System.Windows.Forms.RightToLeft | righttoLeft | |
System.Boolean | isMouseHover | |
ToggleButton | toggleButton |
DrawSlider(PaintEventArgs, Point, ToggleButtonState, SliderCollection, Font, RightToLeft, Boolean, Boolean, ToggleButton)
Method for Drawing the Slider in ToggleButton
Declaration
void DrawSlider(PaintEventArgs e, Point p, ToggleButtonState toggleState, SliderCollection slider, Font font, RightToLeft righttoLeft, bool isMouseMove, bool isMouseHover, ToggleButton toggleButton)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | |
System.Drawing.Point | p | |
ToggleButtonState | toggleState | |
SliderCollection | slider | |
System.Drawing.Font | font | |
System.Windows.Forms.RightToLeft | righttoLeft | |
System.Boolean | isMouseMove | |
System.Boolean | isMouseHover | |
ToggleButton | toggleButton |