Skip to content

Commit eccb1e5

Browse files
committed
removed the unwanted lines and spaces
1 parent 25454f6 commit eccb1e5

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

Document-Processing/PDF/PDF-Viewer/maui/liquid-glass-effect.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ To achieve a glass like background in the [SfPdfViewer](https://help.syncfusion.
3333
The following code snippet demonstrates how to apply the Liquid Glass Effect to the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) control:
3434

3535
{% tabs %}
36-
{% highlight xaml tabtitle="MainPage.xaml" hl_lines="15 17 19" %}
37-
36+
{% highlight xaml tabtitle="MainPage.xaml" hl_lines="14 16 18" %}
3837
<Grid>
3938
<Grid.Background>
4039
<LinearGradientBrush StartPoint="0,0"
@@ -56,10 +55,9 @@ The following code snippet demonstrates how to apply the Liquid Glass Effect to
5655
</syncfusion:SfPdfViewer>
5756
</core:SfGlassEffectView>
5857
</Grid>
59-
6058
{% endhighlight %}
61-
{% highlight c# tabtitle="MainPage.xaml.cs" hl_lines="21 22 23 24 25 30" %}
6259

60+
{% highlight c# tabtitle="MainPage.xaml.cs" hl_lines="19 20 21 22 23 28" %}
6361
using Syncfusion.Maui.Core;
6462
using Syncfusion.Maui.PdfViewer;
6563

@@ -90,12 +88,9 @@ var pdfViewer = new SfPdfViewer
9088
EnableLiquidGlassEffect = true
9189
};
9290

93-
glassEffectView.Content = pdfViewer;
94-
95-
grid.Children.Add(glassEffectView);
96-
91+
glassEffectView.Content = pdfViewer;
92+
grid.Children.Add(glassEffectView);
9793
this.Content = grid;
98-
9994
{% endhighlight %}
10095
{% endtabs %}
10196

0 commit comments

Comments
 (0)