dotnet / dotnet/dotnet-api-docs

DataGridViewRowCollection.Add Method

Open
#10,644 0 comments 0 reactions 0 assignees View on GitHub
area-WinForms Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Missing information

### Description

With respect to the DataGridViewRowCollection.Add Method, no mention is made as to the **position of the newly added row**; for someone completely new to this control, the following questions are raised:

1. Is a new row added to the "top" (first position) of the DataGridView?
2. Is a new row added to the "bottom" (last position) of the DataGridView?
3. Is there some other property that decides this, i.e.: a property that specifies if new rows should be added to the top or bottom of the collection?

If some additional information could be provided, it would be helpful.

Thanks in advance.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.datagridviewrowcollection.add?view=windowsdesktop-8.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/DataGridViewRowCollection.xml

### Document Version Independent Id

d401ac61-ab49-7d05-577a-277d82d98cc8

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.