Class Office2016ToggleButtonRenderer
Provides a standard interface for ToggleButton Office2016 colorful theme Renderer class.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class Office2016ToggleButtonRenderer : IToggleButtonRenderer
Constructors
Office2016ToggleButtonRenderer()
Declaration
public Office2016ToggleButtonRenderer()
Methods
DrawButton(PaintEventArgs, ToggleButtonState, DisplayType, Font, ActiveStateCollection, InactiveStateCollection, RightToLeft, Boolean, ToggleButton)
Represents for Drawing the Button Frame for ToggleButton.
Declaration
public 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 | The System.Windows.Forms.PaintEventArgs event. |
ToggleButtonState | toggleState | It contains togglestate of togglebutton. |
DisplayType | displayMode | It contains displaymodes of togglebutton. |
System.Drawing.Font | font | It contains that font style. |
ActiveStateCollection | activeState | Represents an active state. |
InactiveStateCollection | inactiveState | Represents an inactive. |
System.Windows.Forms.RightToLeft | righttoLeft | It contains righttoleft alignment is applied or not in text. |
System.Boolean | isMouseHover | If true, the mouse hover on the button. Otherwise, false. |
ToggleButton | togglebutton | Represents a control that displays the text and image in a style format. |
DrawSlider(PaintEventArgs, Point, ToggleButtonState, SliderCollection, Font, RightToLeft, Boolean, Boolean, ToggleButton)
Represents for Drawing the Button Frame for ToggleButton.
Declaration
public 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 | The System.Windows.Forms.PaintEventArgs event. |
System.Drawing.Point | p | Represents the value of position. |
ToggleButtonState | toggleState | It contains togglestate of togglebutton. |
SliderCollection | slider | It contains that collection of slider. |
System.Drawing.Font | font | It contains that font style. |
System.Windows.Forms.RightToLeft | righttoLeft | It contains righttoleft alignment is applied or not in text. |
System.Boolean | isMouseMove | If true, the mouse is move on the button. Otherwise, false. |
System.Boolean | isMouseHover | If true, the mouse hover on the button. Otherwise, false. |
ToggleButton | toggleButton |