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
Copy file name to clipboardExpand all lines: MAUI/DataGrid/columns.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ public int OrderID
171
171
172
172
#### Editing
173
173
174
-
When the `Editable` attribute is set to true, it enables editing of the cell values.
174
+
You can enable editing of cell values by setting the `Editable` attribute to true.
175
175
176
176
{% tabs %}
177
177
{% highlight c# %}
@@ -242,7 +242,7 @@ public string Country
242
242
243
243
#### Format datagrid columns using DisplayFormat attribute
244
244
245
-
When the [DisplayFormat](https://learn.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/cc679253%28v%3dvs.95%29) attribute is defined for properties in the model, the auto-generated columns in the DataGrid created via DataAnnotations will be formatted using the [DataFormatString](https://learn.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/cc679306%28v%3dvs.95%29)specified in that attribute.
245
+
You can format auto-generated columns using the [DisplayFormat](https://learn.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/cc679253%28v%3dvs.95%29) attribute with the [DataFormatString](https://learn.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/cc679306%28v%3dvs.95%29)property defined for properties in the model.
246
246
247
247
{% tabs %}
248
248
{% highlight c# %}
@@ -265,7 +265,7 @@ public string Country
265
265
<imgalt="Maui DataGrid with Columns Formatting"src="Images\columns\maui-datagrid-formatting.png"width="404"/>
266
266
267
267
#### Group columns under stacked header
268
-
Enables grouping multiple columns under a shared stacked header in the user interface. It also supports hierarchical (nested) grouping by using the / separator in the ChildColumns property.
268
+
You can group multiple columns under a shared stacked header using the `Display.GroupName` property. Nested grouping is supported using the / separator in the ChildColumns property.
0 commit comments