Special objects are generated for each group view. The first is the group view object itself. This object holds the Capacity or the maximum number of rows specified in the model. It also holds the Length or the current number of populated rows in the group view. The Length cannot exceed the Capacity or be negative. If you try to do so, it throws IndexOutOfRangeException or ArgumentOutOfRangeException.
To store row data, an object is generated. It represents a row and contains references to all the entity and work set views within the GroupView. This group view object then stores an array of row objects to hold the data. An individual row can be accessed by indexing the Rows property on the group view, or by using the indexer property built into the group view object itself.
Since a row of data is an object, it lets certain row-level operations to be performed, such as looping, cloning, resetting, and tostring.
|
Copyright © 2013 CA.
All rights reserved.
|
|