Skip to content

Commit b0da8e4

Browse files
Merge pull request #3843 from syncfusion-content/freezepane-line-customization
MAUI-980522 - [Others] FreezePaneLineStrokeThickness UG
2 parents 703bb72 + ff33f74 commit b0da8e4

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
5.47 KB
Loading

MAUI/DataGrid/freeze-panes.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ The following code snippet shows how to freeze rows in the DataGrid:
6363

6464
## Appearance
6565

66+
### Freeze pane line color
67+
6668
The DataGrid allows you to customize the color of the freeze pane line using the [DataGridStyle.FreezePaneLineColor](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.DataGridStyle.html#Syncfusion_Maui_DataGrid_DataGridStyle_FreezePaneLineColor) property.
6769

6870
{% tabs %}
@@ -77,4 +79,24 @@ The DataGrid allows you to customize the color of the freeze pane line using the
7779
{% endhighlight %}
7880
{% endtabs %}
7981

80-
![Customize freeze panes appearance in .NET MAUI DataGrid](Images\freeze-panes\maui-datagrid-freeze-panes-appearance.png)
82+
![Customize freeze panes appearance in .NET MAUI DataGrid](Images\freeze-panes\maui-datagrid-freeze-panes-appearance.png)
83+
84+
### Freeze pane line thickness
85+
86+
The DataGrid provides an option to customize the thickness of the freeze pane line using the `DataGridStyle.FreezePaneLineStrokeThickness` property. This property defines the stroke width for all frozen rows and columns in both the body and footer regions
87+
88+
N> The default value of `FreezePaneLineStrokeThickness` is 1.
89+
90+
{% tabs %}
91+
{% highlight xaml %}
92+
<ContentPage xmlns:syncfusion="http://schemas.syncfusion.com/maui">
93+
<syncfusion:SfDataGrid ItemsSource="{Binding OrderInfoCollection}" FrozenColumnCount="1" FrozenRowCount="1">
94+
<syncfusion:SfDataGrid.DefaultStyle>
95+
<syncfusion:DataGridStyle FreezePaneLineStrokeThickness="5" />
96+
</syncfusion:SfDataGrid.DefaultStyle>
97+
</syncfusion:SfDataGrid>
98+
</ContentPage>
99+
{% endhighlight %}
100+
{% endtabs %}
101+
102+
<img alt="maui-datagrid-freeze-panes-strokethickness" src="Images\freeze-panes\maui-datagrid-freeze-panes-strokethickness.png" width="404" Height = "396"/>

0 commit comments

Comments
 (0)