ComponentOne DataObjects for .NET
C1DataView Class Members
Properties  Methods  Events

C1.Data.2 Assembly > C1.Data Namespace : C1DataView Class

The following tables list the members exposed by C1DataView.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the C1DataView class.  
Top
Public Properties
 NameDescription
Public PropertyGets or sets a value indicating whether adding new rows to this data view is allowed.  
Public PropertyGets or sets a value indicating whether deleting rows from this data view is allowed.  
Public PropertyGets or sets a value indicating whether the data view is automatically refreshed when one of the following properties changes: TableViewName, TableName, RowFilter, RowStateFilter, Sort.  
Public Property (Inherited from System.ComponentModel.Component)
Public PropertyGets the total number of rows in the data view.  
Public PropertyGets the data set object to which the data view belongs.  
Public PropertyOverridden. Gets the data table object which is the source of this data view.  
Public PropertyGets the C1DataView component with IsDefault = True, if one is connected to this data view.  
Public PropertyGets or sets a value indicating whether this component's RowFilter and Sort settings are applied to any binding to the table view in the data set.  
Public PropertyGets the row at the specified index in the data view.  
Public PropertyGets or sets the current row position for controls bound to this component. (Inherited from C1.Data.BaseDataSourceComponent)
Public PropertyGets or sets a value indicating whether changes to the rows of this data view are allowed.  
Public PropertyGets or sets the expression used to filter rows in the data view.  
Public PropertyGets or sets the row state filter used in the data view.  
Public Property (Inherited from System.ComponentModel.Component)
Public PropertyGets or sets the sort field or fields, and sort order for the data view.  
Public PropertyGets the schema C1.Data.SchemaObjects.Table used in the data view, if the TableName property is set.  
Public PropertyGets or sets the name of the source table for this data view.  
Public PropertyGets the schema C1.Data.SchemaObjects.TableView used in the data view, if the TableViewName property is set.  
Public PropertyGets or sets the name of the source table view for this data view.  
Top
Public Methods
 NameDescription
Public MethodAdds a new row to the data view.  
Public MethodDetermines whether an element is in the collection.  
Public MethodCopies the collection or a portion of it to a one-dimensional array.  
Public Methodstatic (Shared in Visual Basic)Creates and returns a C1DataView object containing child rows of a parent row.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodDeletes a row from the source table view or table.  
Public Method (Inherited from System.ComponentModel.Component)
Public MethodOverloaded. Finds a row in the data view by the specified sort key value.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodReturns the zero-based index of a given row in the collection.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodOverloaded. Refreshes the collection of data view rows.  
Public Method (Inherited from System.ComponentModel.Component)
Top
Public Events
 NameDescription
Public EventFired when there are changes in the current row, whatever their cause, resulting from field change, current row change or complete data refresh. (Inherited from C1.Data.BaseDataSourceComponent)
Public Event (Inherited from System.ComponentModel.Component)
Public EventUsed to programmatically specify the list of rows in a data view.  
Public EventFired when controls bound to this component change their current row position. (Inherited from C1.Data.BaseDataSourceComponent)
Top
See Also

Reference

C1DataView Class
C1.Data Namespace