[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.GradientHeaderRenderer

GradientHeaderRenderer Class

Represents the painter of a gradient header.

Inheritance
GradientHeaderRenderer
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class GradientHeaderRenderer : ColumnHeaderRenderer, IRenderer, IHeaderImages, IWordWrapSupport, IShrinkToFitSupport, IPdfSupport, IDisposable, ISerializeSupport, ISerializable
Public Class GradientHeaderRenderer
    Inherits ColumnHeaderRenderer
    Implements IRenderer, IHeaderImages, IWordWrapSupport, IShrinkToFitSupport, IPdfSupport, IDisposable, ISerializeSupport, ISerializable

Constructors

Name Description
GradientHeaderRenderer()

Creates a new renderer for a gradient header.

GradientHeaderRenderer(Color, Color, Color, Color, LinearGradientMode)

Creates a new renderer for a gradient header with color and mode specified.

GradientHeaderRenderer(Color, Color, Color, Color, LinearGradientMode, Color, Color)

Creates a new renderer for a gradient header with color and mode specified.

GradientHeaderRenderer(SerializationInfo, StreamingContext)

Creates a new painter of the gradient header from serialization.

Properties

Name Description
ActiveBottomColor

Gets or sets the color of the bottom of the gradient when the header cell is active.

ActiveTopColor

Gets or sets the color of the top of the gradient when the header cell is active.

BottomColor

Gets or sets the color of the bottom of the gradient.

Mode

Gets or sets the mode of the linear gradient.

SelectionBottomColor

Gets or sets the color of the bottom of the gradient when the column or row of header cell contains a selection.

SelectionTopColor

Gets or sets the color of the top of the gradient when the column or row of header cell contains a selection.

TopColor

Gets or sets the color of the top of the gradient.

Methods

Name Description
DrawHeader(Graphics, Rectangle, Rectangle, Color, Color, Color, Color, LinearGradientMode, Color, Font, HorizontalAlignment, VerticalAlignment, bool, string, string, ButtonTextAlign, TextOrientation, bool, int, Color, Color, Image, Image, bool, HotkeyPrefix, Appearance)

Paints the gradient header cell.

DrawHeader(Graphics, Rectangle, Rectangle, Color, Color, Color, Color, LinearGradientMode, Color, Font, HorizontalAlignment, VerticalAlignment, bool, string, string, ButtonTextAlign, TextOrientation, bool, int, Color, Color, Image, Image, bool, HotkeyPrefix, Appearance, float)

Paints the gradient header cell.

GetAppearance()

Returns the appearance attributes for the current header cell.

PaintBackground(Graphics, Rectangle)

Paints the background of the gradient header cell.

PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)

Paints the column header cell when not in edit mode to the specified graphics interface with the specified appearance settings.

ToString()

Returns a string that represents this instance.