Class Office2007Renderer
Inheritance
System.Object
Office2007Renderer
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()
Assembly: Syncfusion.Shared.Base.dll
public class Office2007Renderer : ClassicRenderer, IRenderer
Constructors
Initialize new instance of Office2007Renderer
Declaration
public Office2007Renderer(ScrollBarCustomDraw parent, ColorTableOffice2007 colorTable)
Parameters
Methods
Draws arrow button of scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawArrowButton(Graphics g, Rectangle rcArrow, ScrollButton type, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rcArrow |
|
| System.Windows.Forms.ScrollButton |
type |
|
| System.Windows.Forms.ButtonState |
state |
|
Overrides
Draws background of scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawBackground(Graphics g, Rectangle rcBackground, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rcBackground |
|
| System.Windows.Forms.ButtonState |
state |
|
Overrides
Draws thumb for scroll. If theme is disabled than draw classic scroll.
Declaration
public override void DrawThumb(Graphics g, Rectangle rcThumb, ButtonState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rcThumb |
|
| System.Windows.Forms.ButtonState |
state |
|
Overrides
Declaration
protected LinearGradientBrush GetHorizontalBrush(ref Rectangle rc, Color cl1, Color cl2)
Parameters
| Type |
Name |
Description |
| System.Drawing.Rectangle |
rc |
|
| System.Drawing.Color |
cl1 |
|
| System.Drawing.Color |
cl2 |
|
Returns
| Type |
| System.Drawing.Drawing2D.LinearGradientBrush |
Declaration
protected override Bitmap GetOfficeDownArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Overrides
Down Normal office arrow.
Declaration
protected Bitmap GetOfficeDownArrowNormal(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected override Bitmap GetOfficeLeftArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Overrides
Left Normal office arrow.
Declaration
protected Bitmap GetOfficeLeftArrowNormal(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected override Bitmap GetOfficeRightArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Overrides
Right Normal office arrow.
Declaration
protected Bitmap GetOfficeRightArrowNormal(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected Bitmap GetOfficeThumbLinesHorizontal()
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected Bitmap GetOfficeThumbLinesVertical()
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
protected override Bitmap GetOfficeUpArrow(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Overrides
Declaration
protected Bitmap GetOfficeUpArrowNormal(int width, int height)
Parameters
| Type |
Name |
Description |
| System.Int32 |
width |
|
| System.Int32 |
height |
|
Returns
| Type |
| System.Drawing.Bitmap |
Declaration
public static Point[] GetRoundedPolygon(Rectangle rc, int iRadius)
Parameters
| Type |
Name |
Description |
| System.Drawing.Rectangle |
rc |
|
| System.Int32 |
iRadius |
|
Returns
| Type |
| System.Drawing.Point[] |
Declaration
protected LinearGradientBrush GetVerticalBrush(ref Rectangle rc, Color cl1, Color cl2)
Parameters
| Type |
Name |
Description |
| System.Drawing.Rectangle |
rc |
|
| System.Drawing.Color |
cl1 |
|
| System.Drawing.Color |
cl2 |
|
Returns
| Type |
| System.Drawing.Drawing2D.LinearGradientBrush |
Declaration
protected LinearGradientBrush GetVerticalBrush(int top, int height, Color cl1, Color cl2)
Parameters
| Type |
Name |
Description |
| System.Int32 |
top |
|
| System.Int32 |
height |
|
| System.Drawing.Color |
cl1 |
|
| System.Drawing.Color |
cl2 |
|
Returns
| Type |
| System.Drawing.Drawing2D.LinearGradientBrush |
Implements