Skip to content

Commit 58c76f9

Browse files
added liquid glass
1 parent e6898df commit 58c76f9

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

Document-Processing/PDF/PDF-Viewer/maui/Liquid-Glass-Effect.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,22 @@ The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.
1515
The Liquid Glass effect enhances the UI of the PDF Viewer by adding a translucent, glass-like background. You can enable or disable this effect using the EnableLiquidGlassEffect property of [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html). The default value of this property is false.
1616

1717
{% tabs %}
18-
{% highlight c# tabtitle="MauiProgram.cs" hl_lines="1 17" %}
19-
C# :
18+
{% highlight C# %}
19+
2020
// Enable the liquid glass effect for the PDF Viewer
2121
PdfViewer. EnableLiquidGlassEffect = True;
22-
{% endhighlight %}
23-
{% endtabs %}
22+
23+
{% endhighlight %}
24+
{% highlight XAML %}
2425

25-
{% tabs %}
26-
{% highlight c# tabtitle="MauiProgram.cs" hl_lines="1 17" %}
27-
Xaml:
2826
<syncfusion:SfPdfViewer x:Name="PdfViewer" EnableLiquidGlassEffect ="True" >
2927
</syncfusion:SfPdfViewer>
28+
3029
{% endhighlight %}
31-
{% endtabs %}
30+
{% endtabs %}
31+
32+
following image represents Liquid glass effect on the desktop.
33+
![Liquid glass](Images/desktop-liquidglass.gif)
34+
35+
following image represents Liquid glass effect on the mobile.
36+
![Liquid glass](Images/mobile-liquidglass.gif)

0 commit comments

Comments
 (0)