Figure 2. Make Sure Users Get the Message.
The sample shows the validators in action. The royalty percentage for the book must be between the range of 5 percent and 40 percent. If it falls outside of that range, the DataGrid displays the error icon next to the column and in the row header. The default error icon is a red exclamation point.