Class OfficeXPRenderer
Renderer of OfficeXP style.
Inheritance
System.Object
OfficeXPRenderer
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.Renderers
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class OfficeXPRenderer : BasicRenderer, IRenderer
Constructors
OfficeXPRenderer()
Initializes a new instance of the OfficeXPRenderer class. No possibility to construct this class "normally"! Use FancyRenderer.GetInstance() property to retrieve instance pointer instead.
Declaration
protected OfficeXPRenderer()
Methods
DrawHotThumbnail(PaintEventArgs, IRendererInfo, Rectangle)
Draws hot thumbnail.
Declaration
public override void DrawHotThumbnail(PaintEventArgs e, IRendererInfo ri, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | Paint context. |
IRendererInfo | ri | An instance of RendererInfo, which should be used as datasource for painting. |
System.Drawing.Rectangle | bounds | Bounds within which we should paint. |
Overrides
DrawThumbnail(PaintEventArgs, IRendererInfo, Rectangle)
Draws a thumbnail. Draws it regarding to orientation.
Declaration
public override void DrawThumbnail(PaintEventArgs e, IRendererInfo ri, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | Graphics context. |
IRendererInfo | ri | Instance of RendererInfo which is used to retrieve settings from. |
System.Drawing.Rectangle | bounds | Container bounds, within which a thumbnail should be drown. |
Overrides
GetInstance()
Retrieves an instance of OfficeXPRenderer
Declaration
public static OfficeXPRenderer GetInstance()
Returns
Type | Description |
---|---|
OfficeXPRenderer | "new OfficeXPRenderer()" |