[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.ProgressCellType

ProgressCellType Class

Represents a progress indicator cell.

Inheritance
ProgressCellType
Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class ProgressCellType : BaseCellType, ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializeSupport, ISerializable, ICellType, ICloneable<ICellType>, ICellRenderer
Public Class ProgressCellType
    Inherits BaseCellType
    Implements ICellType, IEditor, IFormatter, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializeSupport, ISerializable, ICellType, ICloneable(Of ICellType), ICellRenderer

Constructors

Name Description
ProgressCellType()

Creates a new progress indicator cell with default settings.

ProgressCellType(ProgressCellType)

Creates a new copy from the specified cell type ("Copy constructor").

ProgressCellType(SerializationInfo, StreamingContext)

Creates a new progress indicator cell from serialization.

Properties

Name Description
BackgroundImage

Gets or sets the background image for the progress indicator cell.

FillColor

Gets or sets the color for the filled part of the progress indicator.

FillColor2

Gets or sets the second fill color to display for the progress indicator when indicator style is set to display a gradient.

FillTextColor

Gets or sets the color for the text in the progress indicator.

GradientMode

Gets or sets the gradient style to display for the progress indicator when indicator style is set to display a gradient.

Maximum

Gets or sets the maximum value for user entry in the progress indicator.

Minimum

Gets or sets the minimum value for user entry in the progress indicator.

Orientation

Gets or sets the orientation of the progress indicator.

Picture

Gets or sets the image to display for the progress indicator when indicator style is set to display a picture.

ShowText

Gets or sets whether the percent filled string is displayed in the progress indicator.

Style

Gets or sets the display type of the progress indicator.

Text

Gets or sets the text string to use in the progress indicator when the text style is set to display custom text.

TextStyle

Gets or sets how the text portion of the progress indicator is displayed.

Methods

Name Description
CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a progress indicator cell.

Deserialize(XmlNodeReader)

Loads the object from XML.

Format(object)

Formats the specified data into the format of the cell type and returns it as a string.

GetEditorControl(Appearance, float)

Gets the edit control for this cell type with the specified appearance and scaling.

GetEditorValue()

Gets the unformatted value in the editor control.

GetObjectData(SerializationInfo, StreamingContext)

Serializes the cell type.

GetPreferredSize(Graphics, Size, Appearance, object, float)

Gets the preferred (maximum required) size of the cell for the renderer control.

GetReservedCursor(object)

Gets the cursor reserved for this cell type.

IsReservedKey(KeyEventArgs)

Determines whether the specified key has special meaning to the editor control.

IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float)

Determines whether the specified cursor location has special meaning to the editor control.

IsValid(object)

Determines whether the specified value can be converted to an integer value and is between the minimum and maximum allowed values.

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

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

Parse(string)

Parses the specified string to the data type of the cell type and returns it as an object.

Serialize(XmlTextWriter)

Saves the object to XML.

SetEditorValue(object)

Sets the value of the editor control.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.

StopEditing()

Stops the editing of a cell.

ToHorizontalAlignment(CellHorizontalAlignment)

Converts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.

ToVerticalAlignment(CellVerticalAlignment)

Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.