Parys Bernard
Parys Bernard

Reputation: 159

Gridview.Rows WPF

I have a Gridview in my WPF app and in my code I wanna use the .Rows property but I can't find it MyGridview.Rows dosn't exist

How can i fix this?

Thx

Upvotes: 0

Views: 2077

Answers (1)

brunnerh
brunnerh

Reputation: 184441

The GridView is just a view, it is not meant for item management, you can access the items (which are the rows) from the owner ListView.Items.

Upvotes: 1

Related Questions