FlexGrid for WinForms
CellRange Structure Members
Fields  Properties  Methods 

The following tables list the members exposed by CellRange.

Public Fields
 NameDescription
Public Fieldc1Gets or sets the range's first column index.  
Public Fieldc2Gets or sets the range's last column index.  
Public Fieldr1Gets or sets the range's first row index.  
Public Fieldr2Gets or sets the range's last row index.  
Top
Public Properties
 NameDescription
Public PropertyBottomRowGets the index of the bottom row in the range.  
Public PropertyCheckboxGets or sets the state of the checkbox in the range.  
Public PropertyClipGets or sets a string containing the values of all cells in the range.  
Public PropertyDataGets or sets the data stored in the range.  
Public PropertyDataDisplayGets the value in cell (r1, c1), formatted as a string.  
Public PropertyImageGets or sets the Image assigned to cells in the range.  
Public PropertyIsSingleCellGets a value that indicates if the range contains a single cell.  
Public PropertyIsValidGets a value that indicates if the range contains valid row and column indices.  
Public PropertyLeftColGets the index of the left column in the range.  
Public PropertyRightColGets the index of the right column in the range.  
Public PropertyStyleGets or sets the style used to display every cell in the range.  
Public PropertyStyleDisplayGets the style used to render cell (r1, c1).  
Public PropertyStyleNewGets or sets the style used to display every cell in the range, creating a new style if necessary.  
Public PropertyTopRowGets the index of the top row in the range.  
Public PropertyUserDataGets or sets arbitrary used data assigned to cells in the range.  
Top
Public Methods
 NameDescription
Public MethodClearClears selected elements from the range.  
Public MethodContainsDetermines whether the range contains a given cell.  
Public MethodContainsColDetermines whether the range contains a given column.  
Public MethodContainsRowDetermines whether the range contains a given row.  
Public MethodNormalizeNormalizes the range so that r1 is the TopRow, r2 is the BottomRow, c1 is the LeftCol, and c2 is the RightCol.  
Public MethodToStringReturns a string that represents the current object.  
Top
See Also

Reference

CellRange Structure
C1.Win.C1FlexGrid Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback