Rushino
Rushino

Reputation: 9505

Disable WPF DataGrid Row editing

How do you disable row editing for DataGrid in WPF ? It seem i can't find a property for this ?

Upvotes: 1

Views: 6139

Answers (1)

Paul Sasik
Paul Sasik

Reputation: 81537

Did you take a look at DataGrid's IsReadOnly property?

From the link:

Gets or sets a value that indicates whether the user can edit values in the DataGrid.

Upvotes: 8

Related Questions