[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType

GcComboBoxCellType Class

Represents a GcComboBoxCellType class.

Inheritance
GcComboBoxCellType
Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
public class GcComboBoxCellType : InputManCellTypeBase, ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable<ICellType>, INumFmtSupportCellType, IDisposable, IReuseEditorControl2, IReuseEditorControl, IPdfSupport, IOOXmlSupport, ISerializable, ISerializeSupport, IReadOnlySupport, IStaticSupport, IFormatter2, IFormatter, IDeserializationCallback, IFormulaEditingSupport2
Public Class GcComboBoxCellType
    Inherits InputManCellTypeBase
    Implements ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, IDisposable, IReuseEditorControl2, IReuseEditorControl, IPdfSupport, IOOXmlSupport, ISerializable, ISerializeSupport, IReadOnlySupport, IStaticSupport, IFormatter2, IFormatter, IDeserializationCallback, IFormulaEditingSupport2

Constructors

Name Description
GcComboBoxCellType()

Initializes a new instance of the GcComboBoxCellType class.

GcComboBoxCellType(SerializationInfo, StreamingContext)

Initializes a new instance of the GcComboBoxCellType class.

Properties

Name Description
AcceptsCrLf

Gets or sets how to process the CrLf characters when copying, cutting, or pasting a string.

AcceptsTabChar

Gets or sets how to process the Tab character when copying, cutting, or pasting a string.

AllowSpace

Gets or sets an AllowSpace value that indicates which type of space character is allowed.

AlternateText

Gets the alternate text of the GrapeCity.Win.Spread.InputMan.CellType.GcComboBox control.

AutoComplete

Gets the automatic complete related settings.

AutoCompleteCustomSource

Gets or sets a custom AutoCompleteStringCollection to use when the AutoCompleteSource property is set to CustomSource.

AutoCompleteMode

Gets or sets an option that controls how automatic completion works for the GrapeCity.Win.Spread.InputMan.CellType.GcComboBox cell.

AutoCompleteSource

Gets or sets the source for strings used for automatic completion.

AutoConvert

Gets or sets a bool value that indicates whether to automatically convert the entered characters.

AutoFilter

Gets the automatic filter related settings.

AutoGenerateColumns

Gets or sets whether columns are created automatically when the DataSource or DataMember property is set.

AutoSelect

Gets or sets a bool value that indicates whether to automatically select the item in the list that matches the input in the editor.

DataMember

Gets or sets a value that represents a binding member string.

DataSource

Gets or sets the data source.

DropDown

Gets the settings for the drop-down function.

DropDownMaxHeight

Gets or sets the maximum height of the drop-down window, if the user does not customize the size of the drop-down window; otherwise, this property does not take effect.

DropDownStyle

Gets or sets the drop-down style.

EditorValue

Gets or sets what value is written to the underlying data model.

Ellipsis

Gets or sets how to show ellipsis when the text width is longer than the control.

EllipsisString

Gets or sets what is shown as an ellipsis when the text width is longer than the control.

FocusPosition

Gets or sets the initial cursor position when the editor gets focus.

FormatString

Gets or sets a format string used to filter or convert the input string.

ImageAlign

Gets or sets the alignment of the image.

ImageList

Gets or sets the ImageList.

ImageWidth

Gets or sets the image width.

Items

Gets the item collection.

ListColumns

Gets the column collection.

ListDefaultColumn

Gets or sets a DefaultListColumnInfo value that represents the default ListColumnInfo of the list.

ListDescriptionFormat

Gets or sets a format string used to customize the description shown in StatusBar.

ListDescriptionSubItemIndex

Gets or sets the index of a SubItemInfo object related to the StatusBarInfo display.

ListDisabledItemStyle

Gets an ItemStyleInfo value that indicates the color style of the disabled item.

ListGradientEffect

Gets or sets the background gradient effect.

ListGridLines

Gets or sets a ListGridLinesInfo value that indicates the grid lines.

ListHeaderPane

Gets a ListHeaderPaneInfo value that indicates the header pane.

ListItemTemplates

Gets or sets a ItemTemplateCollectionInfo value that specifies the items template.

ListSelectedItemStyle

Gets an ItemStyleInfo value that indicates the color style of the selected item of the control.

ListSortColumnIndex

Gets or sets the index of the column to sort.

MaxDropDownItems

Gets or sets the maximum number of items to be shown in the drop-down portion of GrapeCity.Win.Spread.InputMan.CellType.GcComboBox.

MaxLength

Gets or sets the maximum length the user can input in the editable region.

MaxLengthCodePage

Gets or sets the code page for the encoding that used to count the max length in byte.

MaxLengthUnit

Gets or sets the calculation methods of the MaxLength (based on byte or character).

PaintByControl

Gets or sets a value that indicates how to paint the cell. If true, the cell uses the inner control's painting to paint the cell, in this case, the cell paints exactly the same as the editing control. All settings of the cell such as fields with different styles are shown when painting the cell. The cell's paint performance is slow if painting by the control, rather than painting the string directly. Also, the text in the cell cannot be selected when exporting to pdf. If false, performance is good but some settings do not take effect.

RecommendedValue

Gets or sets the recommended value.

ScrollBarMode

Gets or sets how to display the scroll bars in the drop-down window.

ScrollBars

Gets or sets which scroll bars are visible.

ShowItemTip

Gets or sets whether to show the item tooltip.

ShowListBoxImage

Gets or sets whether to show the images of the drop-down list.

ShowOverflowTip

Gets or sets whether to show the overflow tip.

ShowRecommendedValue

Gets or sets whether to show the recommended value.

SideButtons

Gets or sets the SideButton collection.

Spin

Gets the spin action information.

StatusBar

Gets a StatusBarInfo object that indicates the status bar information.

TextBoxStyle

Gets or sets a TextBoxStyle value that indicates the appearance style of the editor.

TextFormat

Gets or sets a format string used to customize text.

TextSubItemIndex

Gets or sets an integer value that represents the index of SubItem used to display the Text property.

UnSelectedImageIndex

Gets or sets the index of the image that is shown on the editor area when user the does not select an item in the drop-down list.

UseCompatibleDrawing

Gets or sets whether GrapeCity.Win.Spread.InputMan.CellType.GcComboBox uses compatible drawing when GrapeCity.Win.Spread.InputMan.CellType.GcComboBox.DropDownStyle is DropDownList.

ValueSubItemIndex

Gets or sets an int value that indicates the selected value subitem index.

Methods

Name Description
CanOverflow()

Determines whether a cell can overflow its data into an adjacent cell.

CancelEditing()

Cancel the editing of a cell.

Clone()

Creates and returns a cloned cell type.

Deserialize(XmlNodeReader)

Loads the object from XML.

FindFirstMatchedAndCanBeSelectedIndex(string, bool)

Looks for the index of first ListItem which matches the specified text in the dropdown list.

Format(object)

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

GetDefaultShortcuts()

Gets the default shortcuts.

GetDefaultSideButtonTypes()

Gets the default side buttons.

GetDisplayText(object)

Gets the display text.

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.

GetHorizontalAlignment(object)

Gets the horizontal alignment based on the value.

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data.

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

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

GetPreferredSize(Control)

Gets the preferred (maximum needed) size of the cell for the editor control.

GetVerticalAlignment(object)

Gets the vertical alignment based on the value.

InitializeDefaultSideButtons(SideButtonBaseInfo[])

Initializes the default side buttons.

InitializeEditorControl(Control, Appearance, float)

Initializes the editor control.

IsReusable(Control)

Determines whether the specified control is reusable.

IsValid(object)

Determines whether the specified value is valid.

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.

ShowSubEditor()

Shows the subeditor control associated with the cell.

StartEditing(EventArgs, bool, bool)

Starts the editing of a cell.

StopEditing()

Stops the editing of a cell.