Skip to content

Commit b097f13

Browse files
committed
Changes
1 parent a0b67fd commit b097f13

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

MAUI/DataGrid/Column-types.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,12 +1501,10 @@ You can set the hyperlink text color using the HyperlinkTextColor property. If b
15011501
{% endhighlight %}
15021502

15031503
{% highlight c# %}
1504-
DataGridHyperlinkColumn hyperlinkColumn = new DataGridHyperlinkColumn()
1504+
dataGrid.DefaultStyle = new DataGridStyle
15051505
{
1506-
MappingName = "Country",
1507-
HeaderText = "Country",
1506+
HyperlinkTextColor = Colors.Yellow
15081507
};
1509-
dataGrid.Columns.Add(hyperlinkColumn);
15101508

15111509
{% endhighlight %}
15121510
{% endtabs %}

0 commit comments

Comments
 (0)