FlexGrid for WinForms
CellRange Structure
Members 



Represents cell ranges, allowing the caller to set properties for multiple cells with a single statement.
Object Model
CellRange StructureCellStyle ClassCellStyle ClassCellStyle Class
Syntax
'Declaration
 
Public Structure CellRange 
   Inherits System.ValueType
'Usage
 
Dim instance As CellRange
public struct CellRange : System.ValueType 
public value class CellRange : public System.ValueType 
Remarks

The CellRange structure does not have a public constructor. To create a CellRange object, use the C1FlexGridBase.GetCellRange method.

Note that CellRange is a structure, not a class. This means the object is used as a value, not as a reference. If you pass a CellRange to a method and change the object within that method, the original value is not modified.

Ranges are defined by two rows and two columns (r1, c1, r2, and c2). These values do not have to be in order (r1 may be smaller or greater than r2). To obtain the values in order, use the Normalize method or the TopRow, BottomRow, LeftCol, and RightCol properties.

Inheritance Hierarchy

System.Object
   System.ValueType
      C1.Win.C1FlexGrid.CellRange

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellRange Members
C1.Win.C1FlexGrid Namespace

 

 


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

Send Feedback