BCGControlBar Library for .NET
Cell Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Cell.

Public Constructors
 NameDescription
Public ConstructorCell ConstructorConstructs a cell.  
Top
Protected Fields
Public Properties
 NameDescription
Public PropertyBoundsGets or sets cell bounding rectangle.  
Public PropertyCanOverfloatGets or sets the value that indicates whether the cell text content can overfloat sibling cells.  
Public PropertyColumnGets or sets a reference to GridColumn object where the cell is located.  
Public PropertyColumnIndexGets or sets the value that indicates related column data index.  
Public PropertyContentRectGets the value indicating bounding rectangle of cell content.  
Public PropertyDataItemGets or sets the cell's data.  
Public PropertyDontDrawLeftBorderInternal property used for overfloating algorithms.  
Public PropertyDontDrawRightBorderInternal property used for overfloating algorithms.  
Public PropertyEditControlGets a reference to edit control, which is used to edit cell content.  
Public PropertyEditRectGets the bounding rectangle of edit control.  
Public PropertyExtraHeightGets or sets the value indicating the extra height that should be extracted from cell bounds when calculating ContentRect.  
Public PropertyFullBoundsGets or sets the value indicating the full bounding rectangle of cell, including surrounding grid lines.  
Public PropertyHighlightedGets or sets the value, which indicates whether the cell is highlighted, or not.  
Public PropertyIsColumnCellGets the value that indicates the RowIndex is -1 and ColumnIndex is not -1.  
Public PropertyIsEditableTextGets the value that indicates whether the cell's content can be edited.  
Public PropertyIsLeftMostColumnGets or sets the flag that indicates whether the cell is located in leftmost column currently displayed in the Grid area.  
Public PropertyIsMarginCellGets the value that indicates whether the cell is a "margin" cell, e.g. located in the selection area.  
Public PropertyMergedGets or sets the value that indicates whether the cell is merged.  
Public PropertyPressedGets or sets the value that indicates whether the cell is pressed.  
Public PropertyReadOnlyGets the value that indicates whether the cell is read only.  
Public PropertyRedrawContentOnStateChangeGets the flag which is internally set by various cells to optimize redraw operations of grid.  
Public PropertyRowGets or set a reference to row where the cell is located.  
Public PropertyRowIndexGets or sets the value specifying the related row index.  
Public PropertySelectedGets or sets the value indicating whether the cell is selected or not.  
Public PropertyShowTooltipsGets or sets a value that indicates whether to show tooltips when the displayed data is truncated.  
Public PropertyShowTooltipsAlwaysGets or sets a value that indicates whether to show tooltips always, even the displayed data is not truncated.  
Public PropertyStateGets or sets current cell state.  
Public PropertyStyleGets or sets cell's visual style.  
Public PropertyTag  
Public PropertyTextSizeGets the size of cell's text.  
Top
Public Methods
 NameDescription
Public MethodCalcContentRectCalculates the bounding rectangle, which will be used to display the content of cell.  
Public MethodCalcTextLayoutSizeCalculates size of text portion of the cell's data.  
Public MethodDataToStringReturns text representation of data to be edited. Called from OnBeginEdit to place this text into edit control.  
Public MethodDisposeOverloaded.   
Public MethodDrawContentOverloaded. Displays the specified string in the specified rectangle.  
Public MethodFormatDataOverloaded. Formats the specified object to string.  
Public MethodGetCurrentEditDataReturns a string that from cell's edit control.  
Public MethodGetEditDataShould return an object to be stored in item's data when the user has finished to edit cell.  
Public MethodGetFontReturns current cell font.  
Public MethodGetForeColorReturns foreground color of cell text.  
Public MethodGetTipDescriptionGets tooltip description.  
Public MethodGetTipImageGets tooltip image.  
Public MethodGetTipTextGets tooltip title.  
Public MethodMeasureCellCalculates cell dimensions.  
Public MethodOnBeginEditCalled from the Grid to begin editing of cell content.  
Public MethodOnCellMouseEnterCalled from the Grid control when mouse pointer enters a cell.  
Public MethodOnCellMouseLeaveCalled from the Grid control when mouse leaves a cell.  
Public MethodOnEndEditCalled when user finishes cell editing.  
Public MethodOnMouseDoubleClick  
Public MethodOnMouseDownCalled from the Grid control when the user clicks left mouse button.  
Public MethodOnMouseMoveCalled from the Grid control when mouse pointer is moved over cell content.  
Public MethodOnMouseUpCalled from the Grid control when the user releases left mouse button over a cell.  
Top
Protected Methods
See Also

Reference

Cell Class
BCGSoft.Controls.Grid Namespace

Send Feedback