Skip to content

Commit 310a513

Browse files
Added UG for liquid glass effect
1 parent dc35fd0 commit 310a513

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: post
3+
title: Liquid Glass Effect in .NET MAUI PDF Viewer | Syncfusion
4+
description: Learn here all about how to add liquid glass effect for Syncfusion<sup>®</sup> .NET MAUI PDF Viewer (SfPdfViewer) control.
5+
platform: document-processing
6+
control: SfPdfViewer
7+
documentation: ug
8+
keywords: .net maui pdf viewer, .net maui view pdf, pdf viewer in .net maui, .net maui open pdf, maui pdf viewer, maui pdf view
9+
---
10+
11+
# Liquid Glass Effect in .NET MAUI PDF Viewer (SfPdfViewer)
12+
The [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html) control supports a Liquid Glass effect for its UI, providing a visually appealing, frosted-glass appearance. This feature is available only for .NET MAUI applications targeting .NET 10 and running on iOS or macOS devices with version 26 or above.
13+
14+
## Enable or Disable the Liquid Glass Effect
15+
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.
16+
17+
{% tabs %}
18+
{% highlight c# tabtitle="MauiProgram.cs" hl_lines="1 17" %}
19+
C# :
20+
// Enable the liquid glass effect for the PDF Viewer
21+
PdfViewer. EnableLiquidGlassEffect = True;
22+
{% endhighlight %}
23+
{% endtabs %}
24+
25+
{% tabs %}
26+
{% highlight c# tabtitle="MauiProgram.cs" hl_lines="1 17" %}
27+
Xaml:
28+
<syncfusion:SfPdfViewer x:Name="PdfViewer" EnableLiquidGlassEffect ="True" >
29+
</syncfusion:SfPdfViewer>
30+
{% endhighlight %}
31+
{% endtabs %}

0 commit comments

Comments
 (0)