Class WindowsXPOliveGreenRenderer
WindowsXP OliveGreen Style renderer implementation.
Inheritance
System.Object
WindowsXPOliveGreenRenderer
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.Renderers
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class WindowsXPOliveGreenRenderer : WindowsXPRenderer, IRenderer
Constructors
WindowsXPOliveGreenRenderer(Boolean)
Initialize new instance of WindowsXPRenderer
Declaration
protected WindowsXPOliveGreenRenderer(bool isVerticalScrollBar)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isVerticalScrollBar |
Methods
DrawArrowButton(Graphics, Rectangle, ScrollButton, ButtonState)
Draws arrow button of scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawArrowButton(Graphics g, Rectangle bounds, ScrollButton type, ButtonState state)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | bounds | |
System.Windows.Forms.ScrollButton | type | |
System.Windows.Forms.ButtonState | state |
Overrides
DrawBackground(Graphics, Rectangle, ButtonState)
Draws background of scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawBackground(Graphics g, Rectangle bounds, ButtonState state)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | bounds | |
System.Windows.Forms.ButtonState | state |
Overrides
DrawThumb(Graphics, Rectangle, ButtonState)
Draws thumb for scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawThumb(Graphics g, Rectangle bounds, ButtonState state)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | bounds | |
System.Windows.Forms.ButtonState | state |
Overrides
FillBackground(Graphics, Rectangle, Color, Color)
Fills background with specified colors and gradient.
Declaration
protected void FillBackground(Graphics g, Rectangle bounds, Color startColor, Color endColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics object to use. |
System.Drawing.Rectangle | bounds | Bounds of the background. |
System.Drawing.Color | startColor | Start color of the gradient. |
System.Drawing.Color | endColor | End color of the gradient. |