The ViewRowCollection type exposes the following members.

Methods

  Name Description
Public method Clear
Deletes all view elements.
Public method Contains
Determines whether the ViewRowCollection contains a specific view row.
Public method CreateRow
Creates a new item directly in the view, and a view row associated with it, and adds it to the ViewRowCollection.
Public method DeferRefresh
Enters a defer cycle that you can use to merge changes to the view and delay automatic refresh.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the collection.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Determines the ordinal position of a specific view row in the ViewRowCollection.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Remove
Deletes the specified view item.
Public method RemoveAt
Deletes the view row at a specified ordinal position in ViewRowCollection.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property AllowClear
Gets a value indicating whether the Clear()()()() operation is allowed on the view directly.
Public property AllowEdit
Gets a value indicating whether modifying property values is allowed on the view directly.
Public property AllowNew
Gets a value indicating whether the CreateRow()()()() operation is allowed on the view directly.
Public property AllowRemove
Gets a value indicating whether deleting rows is allowed on the view directly.
Public property Count
Gets the number of elements in the view.
Public property GroupDescriptions
Gets a collection of GroupDescription objects that describe how the items in the collection are grouped.
Public property Groups
Gets the top-level groups.
Public property Item
Gets the view row at the specified ordinal position.
Public property Properties
Returns the collection of properties available in the view element type to programmatic access through ViewRow and to data binding.
Public property SortDescriptions
Gets a collection of SortDescription objects that describe how the items in the collection are sorted.

Events

  Name Description
Public event Changed
Occurs after a view row has changed.
Public event ViewRowAdding
Occurs after a new view row is created so it can be populated with default values.

Explicit Interface Implementations

See Also