Skip to content

Commit 19bdbd4

Browse files
committed
Modified the sample
1 parent f75c83d commit 19bdbd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

input-message-row-and-column/gridcontrol-input-message-tip/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ public MainWindow()
4444
//Add input message tip for specific row
4545
for (int i = 1; i <= 4; i++)
4646
{
47-
string comment = grid.Model[1, 0].CellValue + " :\nPopulate rate in " + grid.Model[1, i].ColumnIndex + " is " + grid.Model[1, i].CellValue;
47+
string comment = grid.Model[1, 0].CellValue + " :\nPopulation rate in " + grid.Model[1, i].ColumnIndex + " is " + grid.Model[1, i].CellValue;
4848
grid.Model[1, i].DataValidationTooltip = comment;
4949
grid.Model[1, i].ShowDataValidationTooltip = true;
5050
}
5151

5252
//Add input message tip for specific column
5353
for (int i = 1; i <= 4; i++)
5454
{
55-
string comment = grid.Model[i, 0].CellValue + " :\nPopulate rate in " + grid.Model[i, 2].RowIndex + " is " + grid.Model[i, 2].CellValue;
55+
string comment = grid.Model[i, 0].CellValue + " :\nPopulation rate in " + grid.Model[i, 2].RowIndex + " is " + grid.Model[i, 2].CellValue;
5656
grid.Model[i, 2].DataValidationTooltip = comment;
5757
grid.Model[i, 2].ShowDataValidationTooltip = true;
5858
}

0 commit comments

Comments
 (0)