From fd5c5667ee91e729319fdcad69064f2422267774 Mon Sep 17 00:00:00 2001 From: YaminiSF4802 Date: Fri, 14 Mar 2025 15:25:22 +0530 Subject: [PATCH 01/10] showandhide --- MAUI/PDF-Viewer/Form-Filling.md | 273 ++++++++++++++++++++++++++++++++ 1 file changed, 273 insertions(+) diff --git a/MAUI/PDF-Viewer/Form-Filling.md b/MAUI/PDF-Viewer/Form-Filling.md index 3f475d1d08..9c8cb64407 100644 --- a/MAUI/PDF-Viewer/Form-Filling.md +++ b/MAUI/PDF-Viewer/Form-Filling.md @@ -251,6 +251,279 @@ private void PdfViewer_FormFieldValueChanged(object sender, FormFieldValueChange {% endhighlight %} {% endtabs %} +# Show and Hide form fields + +You can manage the visibility of form fields using the `IsHidden` property. It helps you to hide form fields containing confidential data when sharing documents externally or presenting documents, ensuring data privacy and security. Also, it makes it easier to read the documents which are cluttered with more form fields. Like other form fields properties, you can undo and redo the hiding or showing actions. Additionally, when an form field is locked, it cannot be hidden. Form fields that are hidden will remain hidden during import, export, printing and saving. + +## Hide form fields + +To hide form fields in the document, set the `IsHidden` property of the form fields to `true`. + +### Hide all form fields + +While reviewing and presenting documents, all form fields can be hidden to improve the focus on the content and to avoid distraction caused by cluttered form fields. The following example explains how to hide all form fields in a PDF document. + +{% tabs %} +{% highlight xaml %} + + + + + +