diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail.slnx b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail.slnx
new file mode 100644
index 0000000..fc27f40
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail.slnx
@@ -0,0 +1,3 @@
+
+
+
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/App.xaml b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/App.xaml
new file mode 100644
index 0000000..6c69269
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/App.xaml.cs b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/App.xaml.cs
new file mode 100644
index 0000000..0ceabcb
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/App.xaml.cs
@@ -0,0 +1,14 @@
+using System.Configuration;
+using System.Data;
+using System.Windows;
+
+namespace Programatic_thumbnail
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+
+}
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/AssemblyInfo.cs b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/AssemblyInfo.cs
new file mode 100644
index 0000000..b0ec827
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/F#.pdf b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/F#.pdf
new file mode 100644
index 0000000..8325a6c
Binary files /dev/null and b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/F#.pdf differ
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/MainWindow.xaml b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/MainWindow.xaml
new file mode 100644
index 0000000..c56127a
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/MainWindow.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/MainWindow.xaml.cs b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/MainWindow.xaml.cs
new file mode 100644
index 0000000..e0f7984
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/MainWindow.xaml.cs
@@ -0,0 +1,50 @@
+using Syncfusion.Windows.PdfViewer;
+using System;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace Programatic_thumbnail
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ this.WindowState = WindowState.Maximized;
+ pdfViewer.Load("../../../F#.pdf");
+ pdfViewer.ThumbnailSettings.IsExpanded = true;
+ }
+ private void pdfViewer_DocumentLoaded(object sender, EventArgs args)
+ {
+ Grid LeftToolGrid = pdfViewer.Template.FindName("PART_Grid", pdfViewer) as Grid;
+ if (LeftToolGrid != null)
+ {
+ foreach (var LeftToolChild in LeftToolGrid.Children)
+ {
+ if (LeftToolChild is ThumbnailPane)
+ {
+ StackPanel stackPanel = (LeftToolChild as ThumbnailPane).Template.FindName("Thumb_StackPanel", (LeftToolChild as ThumbnailPane)) as StackPanel;
+ foreach (var stackPanelChild in stackPanel.Children)
+ {
+ if (stackPanelChild is Slider)
+ {
+ (stackPanelChild as Slider).Value = 12;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/Programatic_thumbnail.csproj b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/Programatic_thumbnail.csproj
new file mode 100644
index 0000000..071c680
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/Programatic_thumbnail.csproj
@@ -0,0 +1,12 @@
+
+
+
+ WinExe
+
+
+
+
+
+
+
+
diff --git a/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/targets/MultiTargeting.targets b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/targets/MultiTargeting.targets
new file mode 100644
index 0000000..3928b04
--- /dev/null
+++ b/ThumbnailPane/Programmatically-change-thumbnail-zoompercentage/Programatic_thumbnail/targets/MultiTargeting.targets
@@ -0,0 +1,10 @@
+
+
+ net462;net8.0-windows;net9.0-windows;net10.0-windows
+ true
+ False
+ True
+ True
+ True
+
+
\ No newline at end of file