Class UpDownExtRenderer
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class UpDownExtRenderer : UpDownRenderer, IUpDownRenderer
Constructors
UpDownExtRenderer(UpDownBase, VisualStyle)
Initializes a new instance of the Metrorender class.
Declaration
public UpDownExtRenderer(UpDownBase upDownControl, VisualStyle visualStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.UpDownBase | upDownControl | Control to render. |
VisualStyle | visualStyle |
Methods
DrawArrow(Graphics, Rectangle, ButtonState, Boolean)
Draws the arrow
Declaration
public override void DrawArrow(Graphics g, Rectangle buttonRectangle, ButtonState buttonState, bool upper)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | buttonRectangle | |
System.Windows.Forms.ButtonState | buttonState | |
System.Boolean | upper |
Overrides
DrawScrollButton(Graphics, Rectangle, ButtonState, ButtonID)
Draws scrollbutton
Declaration
public override void DrawScrollButton(Graphics g, Rectangle buttonRectangle, ButtonState buttonState, ButtonID buttonID)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | buttonRectangle | |
System.Windows.Forms.ButtonState | buttonState | |
ButtonID | buttonID |
Overrides
DrawScrollButtonBackground(Graphics, Rectangle, ButtonState)
Sets the Scroll button background
Declaration
public override void DrawScrollButtonBackground(Graphics g, Rectangle buttonRectangle, ButtonState buttonState)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | buttonRectangle | |
System.Windows.Forms.ButtonState | buttonState |
Overrides
DrawScrollButtonBorder(Graphics, Rectangle, ButtonState)
UpDown Scroll butoon border
Declaration
public override void DrawScrollButtonBorder(Graphics g, Rectangle buttonRectangle, ButtonState buttonState)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | buttonRectangle | |
System.Windows.Forms.ButtonState | buttonState |
Overrides
GetBorderPen(ButtonState)
Sets the Pen for border color
Declaration
public Pen GetBorderPen(ButtonState buttonState)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ButtonState | buttonState |
Returns
Type |
---|
System.Drawing.Pen |
Render(Graphics, ButtonState, ButtonState)
Draws border,arrow and scrollbutton
Declaration
public override void Render(Graphics g, ButtonState upButtonState, ButtonState downButtonState)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Windows.Forms.ButtonState | upButtonState | |
System.Windows.Forms.ButtonState | downButtonState |