Version

GridRowCollection class Members

The following tables list the members exposed by GridRowCollection.

Public Constructors
 NameDescription
Public ConstructorGridRowCollection Constructor  
Public Properties
 NameDescription
Public PropertycellFromIDPairReturns a cell by its ID pair. If the cell is not instantiated yet it is being created and returned.  
Public PropertygridReturns reference to the grid that owns the collection.  
Public PropertylengthReturns actual number of rows in the collection regardless of how many were instantiated.  
Public PropertyrowReturns a row by its index. If the row is not instantiated yet it is being created and returned.  
Public PropertyrowFromIDPairReturns a row by its ID pair. If the row is not instantiated yet it is being created and returned.  
Public PropertyrowFromKeyReturns a row by its data key. If the row is not instantiated yet it is being created and returned.  
Public Methods
 NameDescription
Public MethodaddCreates and adds a row to the collection.  
Public MethodaddRowCreatedEventHandlerAdds a listener to the RowCreated internal event.  
Public MethoddisposeDisposes of the collection object. The method is called automatically by the framework.  
Public MethodinitializeInitializes the collection. The method is called automatically by the framework.  
Public MethodremoveRemoves a row from the collection.  
See Also