Skip to content

Commit a43db46

Browse files
Merge pull request #803 from timunie/patch-1
Update README with DataGrid styles instructions
2 parents bce2cb7 + 76d9f18 commit a43db46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/reference/controls/datagrid/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Note you must always install the data grid version that matches the _Avalonia UI
4848

4949
You must reference the `DataGrid` themes to include the additional styles that the `DataGrid` uses. You can do this by adding a `<StyleInclude>` element to the application (`App.axaml` file).
5050

51-
For example:
51+
For example (In case you use `FluentTheme`):
5252

5353
```xml
5454
<Application.Styles>
@@ -57,6 +57,11 @@ For example:
5757
</Application.Styles>
5858
```
5959

60+
:::warning
61+
The DataGrid-styles need to match the overall theme you use, otherwise you will get conflicts and unresolved resources. For third party themes, please lookup their docs and samples.
62+
:::
63+
64+
6065
## Useful Properties
6166

6267
You will probably use these properties most often:

0 commit comments

Comments
 (0)