From 989384f89edc739ea09db8925a53038123069e2a Mon Sep 17 00:00:00 2001 From: Nandhakumar-SF4686 Date: Mon, 22 Sep 2025 22:14:19 +0530 Subject: [PATCH 1/6] 916588 - How to disable the loading indicator? --- .../PDF/PDF-Viewer/maui/UI-Customization.md | 46 +++++++++++-------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md index b5c720e69..7dc5d0cfb 100644 --- a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md +++ b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md @@ -11,23 +11,33 @@ documentation: ug This section walks you through the UI customization options supported in the [SfPdfViewer](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.PdfViewer.SfPdfViewer.html). -## Customize the loading indicator - -You can customize the loading indicator’s properties by applying a style with the `TargetType` property to `ActivityIndicator`. You may also need to set the [ApplyToDerivedTypes](https://learn.microsoft.com/en-us/dotnet/maui/user-interface/styles/xaml?view=net-maui-7.0#apply-a-style-to-derived-types) property to `True` to get the style applied to the derived classes. See the following code example to customize the color of the loading indicator. - -{% tabs %} -{% highlight xaml %} - - - - - - - +## Customize the loading indicator + +You can customize the loading indicator color by setting the color of the activity indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). + +{% tabs %} +{% highlight xaml tabtitle="App.xaml" %} + + + + + Custom Theme + Red + + + + +{% endhighlight %} +{% endtabs %} + +## Hiding loading indicator: + +To disable the loading indicator while loading the pdf and rendering the pages, you can set the color of the loading indicator as Transparent using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. + +{% tabs %} +{% highlight xaml %} +Transparent {% endhighlight %} -{% endtabs %} +{% endtabs %} -N> For complete customization of the PDF Viewer, themes can be applied. Refer to the [theme user guide](https://help.syncfusion.com/maui/themes/themes) for detailed instructions. You can also explore the [sample project](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/PDFViewerThemes), which demonstrates the custom theme implementation for the PDF Viewer in .NET MAUI applications. \ No newline at end of file +N> For complete customization of the PDF Viewer, refer to the [theme user guide](https://help.syncfusion.com/maui/themes/themes) for detailed instructions. You can also explore the [sample project](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/PDFViewerThemes), which demonstrates the custom theme implementation for the PDF Viewer in .NET MAUI applications. \ No newline at end of file From bde65d8cfa165eb928b54492edd5c4ec4f4dc38f Mon Sep 17 00:00:00 2001 From: Nandhakumar-SF4686 Date: Mon, 22 Sep 2025 22:34:28 +0530 Subject: [PATCH 2/6] Adding changes --- Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md index 7dc5d0cfb..1b68bb4be 100644 --- a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md +++ b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md @@ -22,7 +22,7 @@ You can customize the loading indicator color by setting the color of the activi Custom Theme - Red + Red @@ -32,7 +32,7 @@ You can customize the loading indicator color by setting the color of the activi ## Hiding loading indicator: -To disable the loading indicator while loading the pdf and rendering the pages, you can set the color of the loading indicator as Transparent using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. +To disable the loading indicator while loading the pdf and rendering the pages, you can set the color of the loading indicator as transparent using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. {% tabs %} {% highlight xaml %} From f70368e2820bf829052509e2f52a5860ad8f18a9 Mon Sep 17 00:00:00 2001 From: Nandhakumar-SF4686 Date: Tue, 23 Sep 2025 10:59:22 +0530 Subject: [PATCH 3/6] Feedback addressed --- Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md index 1b68bb4be..1b7ed3193 100644 --- a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md +++ b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md @@ -38,6 +38,6 @@ To disable the loading indicator while loading the pdf and rendering the pages, {% highlight xaml %} Transparent {% endhighlight %} -{% endtabs %} +{% endtabs %} N> For complete customization of the PDF Viewer, refer to the [theme user guide](https://help.syncfusion.com/maui/themes/themes) for detailed instructions. You can also explore the [sample project](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/PDFViewerThemes), which demonstrates the custom theme implementation for the PDF Viewer in .NET MAUI applications. \ No newline at end of file From 01b88c4f5f90dd4943b93323185bb24fdbc6be14 Mon Sep 17 00:00:00 2001 From: Nandhakumar-SF4686 Date: Tue, 23 Sep 2025 16:49:47 +0530 Subject: [PATCH 4/6] Feedback addressed --- .../PDF/PDF-Viewer/maui/UI-Customization.md | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md index 1b7ed3193..a2fd4bafc 100644 --- a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md +++ b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md @@ -13,31 +13,25 @@ This section walks you through the UI customization options supported in the [Sf ## Customize the loading indicator -You can customize the loading indicator color by setting the color of the activity indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). +To customize the loading indicator while loading the pdf and rendering the pages, merge the `SfPdfViewerTheme` key into application resources, you can customize the appearance of SfPdfViewer without merging common theme resource and control style resource dictionaries. Set the color of the loading indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. + +{% tabs %} +{% highlight xaml tabtitle="App.xaml" %} -{% tabs %} -{% highlight xaml tabtitle="App.xaml" %} Custom Theme - Red + Transparent - -{% endhighlight %} -{% endtabs %} - -## Hiding loading indicator: + -To disable the loading indicator while loading the pdf and rendering the pages, you can set the color of the loading indicator as transparent using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. - -{% tabs %} -{% highlight xaml %} -Transparent -{% endhighlight %} +{% endhighlight %} {% endtabs %} +The example project to disable the busy indicator can be downloaded [here](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/DisableLoadingIndicator). + N> For complete customization of the PDF Viewer, refer to the [theme user guide](https://help.syncfusion.com/maui/themes/themes) for detailed instructions. You can also explore the [sample project](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/PDFViewerThemes), which demonstrates the custom theme implementation for the PDF Viewer in .NET MAUI applications. \ No newline at end of file From 351943678cbe55dda71fcd179eb8f0b9f07728f3 Mon Sep 17 00:00:00 2001 From: Nandhakumar-SF4686 Date: Tue, 23 Sep 2025 16:57:11 +0530 Subject: [PATCH 5/6] Adding changes --- Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md index a2fd4bafc..7e9a771ee 100644 --- a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md +++ b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md @@ -13,7 +13,7 @@ This section walks you through the UI customization options supported in the [Sf ## Customize the loading indicator -To customize the loading indicator while loading the pdf and rendering the pages, merge the `SfPdfViewerTheme` key into application resources, you can customize the appearance of SfPdfViewer without merging common theme resource and control style resource dictionaries. Set the color of the loading indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. +You can customize the loading indicator while loading the pdf and rendering the pages, merge the `SfPdfViewerTheme` key into application resources, you can customize the appearance of SfPdfViewer without merging common theme resource and control style resource dictionaries. Set the color of the loading indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. {% tabs %} {% highlight xaml tabtitle="App.xaml" %} From 604f169959296011d7fb78e4c4713dc8faf079b3 Mon Sep 17 00:00:00 2001 From: Nandhakumar-SF4686 Date: Tue, 23 Sep 2025 16:58:42 +0530 Subject: [PATCH 6/6] Adding changes --- Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md index 7e9a771ee..bfb89d5a1 100644 --- a/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md +++ b/Document-Processing/PDF/PDF-Viewer/maui/UI-Customization.md @@ -13,7 +13,7 @@ This section walks you through the UI customization options supported in the [Sf ## Customize the loading indicator -You can customize the loading indicator while loading the pdf and rendering the pages, merge the `SfPdfViewerTheme` key into application resources, you can customize the appearance of SfPdfViewer without merging common theme resource and control style resource dictionaries. Set the color of the loading indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. +You can customize the loading indicator's color while loading the pdf and rendering the pages, merge the `SfPdfViewerTheme` key into application resources, you can customize the appearance of SfPdfViewer without merging common theme resource and control style resource dictionaries. Set the color of the loading indicator using the [Themes key for .NET MAUI PdfViewer](https://help.syncfusion.com/maui/themes/keys). Refer the code example below to disable the loading indicator. {% tabs %} {% highlight xaml tabtitle="App.xaml" %} @@ -32,6 +32,6 @@ You can customize the loading indicator while loading the pdf and rendering the {% endhighlight %} {% endtabs %} -The example project to disable the busy indicator can be downloaded [here](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/DisableLoadingIndicator). +The example project to disable the loading indicator can be downloaded [here](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/DisableLoadingIndicator). N> For complete customization of the PDF Viewer, refer to the [theme user guide](https://help.syncfusion.com/maui/themes/themes) for detailed instructions. You can also explore the [sample project](https://github.com/SyncfusionExamples/maui-pdf-viewer-examples/tree/master/Styles/PDFViewerThemes), which demonstrates the custom theme implementation for the PDF Viewer in .NET MAUI applications. \ No newline at end of file