[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.SliderCellType

SliderCellType Class

Represents a slider cell.

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

Constructors

Name Description
SliderCellType()

Creates a new slider cell with default settings.

SliderCellType(SliderCellType)

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

SliderCellType(SerializationInfo, StreamingContext)

Creates a new slider cell from serialization.

Properties

Name Description
BackgroundImage

Gets or sets the background image for the cell.

ChangeOnFocus

Gets or sets whether the slider moves with the initial click.

KnobColor

Gets or sets the color of the slider knob.

KnobPicture

Gets or sets the image for the slider knob.

KnobWidth

Gets or sets the width (in pixels) of the slider knob.

Maximum

Gets or sets the maximum value for user entry.

Minimum

Gets or sets the minimum value for user entry.

Orientation

Gets or sets the orientation of the slider.

TickColor

Gets or sets the color of the tick marks in the slider.

TickLength

Gets or sets the width (in pixels) of the tick marks of the slider.

TickSpacing

Gets or sets how frequently to space the tick marks in the slider.

TrackColor

Gets or sets the color of the track of the slider.

TrackPicture

Gets or sets the image for the track of the slider.

TrackWidth

Gets or sets the width (in pixels) of the slider track.

Methods

Name Description
CancelEditing()

Cancels the editing of a cell.

Clone()

Creates and returns a slider 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.

GetEditorControl(Control, 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.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

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.

IsReusable(Control)

Checks if this celltype is reusable.

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.