Skip to content

Commit 135b27e

Browse files
committed the changes.
1 parent e212bbf commit 135b27e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

winui/DataGrid/Printing.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ To display the print preview window, you need to pass the `Window` instance as a
1414

1515
{% tabs %}
1616
{% highlight c# %}
17-
public sealed partial class MainWindow : Window
18-
{
19-
public MainWindow()
20-
{
21-
this.InitializeComponent();
22-
23-
}
24-
private void Print_Click(object sender, RoutedEventArgs e)
25-
{
26-
sfDataGrid.Print(this);
27-
}
28-
}
17+
public sealed partial class MainWindow : Window
18+
{
19+
public MainWindow()
20+
{
21+
this.InitializeComponent();
22+
23+
}
24+
private void Print_Click(object sender, RoutedEventArgs e)
25+
{
26+
sfDataGrid.Print(this);
27+
}
28+
}
2929
{% endhighlight %}
3030
{% endtabs %}
3131

0 commit comments

Comments
 (0)