You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1440,17 +1439,16 @@ The `DataGridHyperlinkColumn` inherits all the properties of the `DataGridTextCo
1440
1439
DataGridHyperlinkColumn hyperlinkColumn = new DataGridHyperlinkColumn()
1441
1440
{
1442
1441
MappingName = "Country",
1443
-
HeaderText = "CountryLink",
1442
+
HeaderText = "Country",
1444
1443
};
1445
1444
dataGrid.Columns.Add(hyperlinkColumn);
1446
1445
1447
1446
{% endhighlight %}
1448
1447
1449
1448
{% endtabs %}
1450
1449
1451
-
You can allow end-user to navigate the Uri when the cell value contains valid Uri address or using `DataGridCurrentCellRequestNavigatingEventArgs ` event. The `CurrentCellRequestNavigating` occurs when the current cell in DataGridHyperlinkColumn is clicked for navigation.
1452
-
1453
-
`DataGridCurrentCellRequestNavigatingEventArgs` of `CurrentCellRequestNavigating` event provide information about the hyperlink triggered this event. DataGridCurrentCellRequestNavigatingEventArgs.NavigateText returns the value from the column’s DisplayBinding if it is defined; otherwise, it uses the value bound to MappingName.
1450
+
You can enable end-users to navigate to a URI either when the cell value contains a valid URI address or by handling the `DataGridCurrentCellRequestNavigatingEventArg`s event. The `CurrentCellRequestNavigating` event is triggered whenever a cell in the `DataGridHyperlinkColumn` is clicked for navigation.
1451
+
The `DataGridCurrentCellRequestNavigatingEventArgs` associated with the `CurrentCellRequestNavigating` event provides details about the hyperlink that initiated the action. Its `DataGridCurrentCellRequestNavigatingEventArgs.NavigateText` property returns the value from the column’s `DisplayBinding` if one is defined; otherwise, it falls back to the value bound to `MappingName`.
0 commit comments