[]
        
(Showing Draft Content)

FarPoint.Win.Spread.GradientSelectionRenderer

GradientSelectionRenderer Class

Represents a renderer for displaying a gradient for a selection in the spreadsheet.

Inheritance
GradientSelectionRenderer
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(SelectionRendererConverter))]
public class GradientSelectionRenderer : ISelectionRenderer, ISerializeSupport
<TypeConverter(GetType(SelectionRendererConverter))>
Public Class GradientSelectionRenderer
    Implements ISelectionRenderer, ISerializeSupport

Constructors

Name Description
GradientSelectionRenderer()

Represents a renderer for selections with gradients.

GradientSelectionRenderer(Color, Color, LinearGradientMode, int)

Creates a new gradient selection renderer.

Properties

Name Description
Color1

Gets or sets the first color of a two-color gradient.

Color2

Gets or sets the second color of a two-color gradient.

LinearGradientMode

Gets or sets the gradient mode.

Opacity

Gets or sets the opacity.

Methods

Name Description
PaintSelection(Graphics, int, int, int, int)

Paints the selection.

ToString()

Returns a string that represents this object.