diff --git a/wpf/Bullet-Graph/Getting-Started.md b/wpf/Bullet-Graph/Getting-Started.md index 4480757374..f1e2303a4a 100644 --- a/wpf/Bullet-Graph/Getting-Started.md +++ b/wpf/Bullet-Graph/Getting-Started.md @@ -79,7 +79,7 @@ The SfBulletGraph control will be created as shown in the figure below. ![Displaying SfBulletGraph control](Getting-Started_images/Getting-Started_img7.jpg) ->**Note:- The Syncfusion Reference Manager is available in versions 11.3.0.30 and later. It supports referencing assemblies from version 10.4.0.71 version to the current version and Syncfusion Reference Manager can be used only in Visual Studio 2010, 2012, 2013 and 2015.** +>**Note:- The Syncfusion Reference Manager is available in versions 11.3.0.30 and later. It supports referencing assemblies from version 10.4.0.71 version to the current version and Syncfusion Reference Manager can be used only in Visual Studio 2015.** ## Configuring SfBulletGraph diff --git a/wpf/Charts/CodedUI.md b/wpf/Charts/CodedUI.md index 6d4f0a30ef..eaffc78ea9 100644 --- a/wpf/Charts/CodedUI.md +++ b/wpf/Charts/CodedUI.md @@ -54,11 +54,8 @@ Place this assembly in below mentioned location, and install this assembly in GA The above assembly must be placed into the following directory based on your Visual Studio version. -For Visual Studio 2010: C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\10.0\UITestExtensionPackages - -For Visual Studio 2012: C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages - -For Visual Studio 2013: C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\12.0\UITestExtensionPackages +For Visual Studio 2015: +C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\14.0\UITestExtensionPackages N> Syncfusion.SfChart.CUITExtension.WPF.dll need to be installed in GAC location. Please refer the MSDN link for_ [GAC](https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/ex0ss12c(v=vs.80)) _installation. diff --git a/wpf/DataGrid/Styles-and-Templates.md b/wpf/DataGrid/Styles-and-Templates.md index e5be9c6d54..8ac28cbaa6 100644 --- a/wpf/DataGrid/Styles-and-Templates.md +++ b/wpf/DataGrid/Styles-and-Templates.md @@ -378,7 +378,7 @@ You can edit or create new style for the following SfDataGrid elements through * 15. FilterPopupTemplate 16. DetailsViewDataGridStyle -N> Visual Studio Editing option is available from Visual Studio 2012 and higher versions only. +N> Visual Studio Editing option is available from Visual Studio 2015 and higher versions only. ## Writing Style by TargetType diff --git a/wpf/DataGrid/UI-Automation.md b/wpf/DataGrid/UI-Automation.md index 14f55c5cfb..81ced0e1c0 100644 --- a/wpf/DataGrid/UI-Automation.md +++ b/wpf/DataGrid/UI-Automation.md @@ -57,11 +57,8 @@ To test SfDataGrid with CUITs, build the Extension Project and place it in the m The above assembly must be placed into the following directory based on your Visual Studio version. -For `Visual Studio 2010` : C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\10.0\UITestExtensionPackages - -For `Visual Studio 2012` : C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages - -For `Visual Studio 2013` : C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\12.0\UITestExtensionPackages +For Visual Studio 2015: +C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\14.0\UITestExtensionPackages N> `Syncfusion.VisualStudio.TestTools.UITest.SfGridExtension.dll` need to be installed in GAC location. Please refer the MSDN link for [GAC](https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/ex0ss12c(v=vs.80)) installation. diff --git a/wpf/Grouping/Overview.md b/wpf/Grouping/Overview.md index 584a1bfaba..c9bb59bb57 100644 --- a/wpf/Grouping/Overview.md +++ b/wpf/Grouping/Overview.md @@ -2,7 +2,7 @@ layout: post title: About WPF Grouping control | Syncfusion description: Learn here all about introduction of Syncfusion WPF Grouping control, its elements and more details. -platform: WindowsForms +platform: wpf control: Grouping documentation: ug --- @@ -49,10 +49,6 @@ The prerequisites details are listed below: Development Environments
.NET Framework versions diff --git a/wpf/Introduction/System-Requirement.md b/wpf/Introduction/System-Requirement.md index 6ceb2e1fb8..19b941c980 100644 --- a/wpf/Introduction/System-Requirement.md +++ b/wpf/Introduction/System-Requirement.md @@ -22,14 +22,3 @@ This section describes the system requirements to use Syncfusion WPFControls for -## IDE - -### Following IDEs can be used for development: - -* Microsoft Visual Studio 2008 -* Microsoft Visual Studio 2010 -* Microsoft Visual Studio 2012 -* Microsoft Visual Studio 2013 - - - diff --git a/wpf/Pdf-Viewer/Working-with-Annotations/Working-with-Annotations-Programmatically.md b/wpf/Pdf-Viewer/Working-with-Annotations/Working-with-Annotations-Programmatically.md index dd08a438e5..0cff613932 100644 --- a/wpf/Pdf-Viewer/Working-with-Annotations/Working-with-Annotations-Programmatically.md +++ b/wpf/Pdf-Viewer/Working-with-Annotations/Working-with-Annotations-Programmatically.md @@ -8,6 +8,53 @@ documentation: ug --- # Working with annotations programmatically +## Add an annotation + +The PDF Viewer allows users to add annotations programmatically without user interaction. Annotations can be added to the PDF document using the [PdfViewerControl’s loadedDocument](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_LoadedDocument) property in the code behind. + +The following code snippet explains how to add an ink annotation at runtime to the PDF document. + +{% tabs %} +{% highlight C# %} + +//Adding ink annotation at runtime to the PDF document. +private void AddAnnotation() +{ + //Get the instance of the loadedDocument from the PdfViewerControl. + PdfLoadedDocument loadedDocument = pdfViewer.LoadedDocument; + + //Specify the ink points + List inkPoints = new List { 40, 300, 60, 100, 40, 50, 40, 300 }; + //Specify the bounds of an annotation + RectangleF rectangle = new RectangleF(0, 0, 300, 400); + //Create a new ink annotation + PdfInkAnnotation inkAnnotation = new PdfInkAnnotation(rectangle, inkPoints); + + //Add the ink annotation to the desired page of the PdfLoadedDocument property instance. + loadedDocument.Pages[0].Annotations.Add(inkAnnotation); +} + +{% endhighlight %} +{% highlight VB %} + +'Adding ink annotation at runtime to the PDF document. +private void AddAnnotation() +{ + 'Get the instance of the loadedDocument from the PdfViewerControl. + Dim loadedDocument As PdfLoadedDocument = pdfViewer.LoadedDocument + + 'Specify the ink points + Dim inkPoints As List(Of Single) = New List(Of Single) From {40, 300, 60, 100, 40, 50, 40, 300} + 'Specify the bounds of an annotation + Dim rectangle As RectangleF = New RectangleF(0, 0, 300, 400) + 'Create a new ink annotation + Dim inkAnnotation As PdfInkAnnotation = New PdfInkAnnotation(rectangle, inkPoints) + + 'Add the ink annotation to the desired page of the PdfLoadedDocument property instance. + loadedDocument.Pages(0).Annotations.Add(inkAnnotation) +} +{% endhighlight %} +{% endtabs %} ## Select an annotation @@ -154,7 +201,9 @@ private void PdfViewer_DocumentLoaded(object sender, EventArgs args) {% endtabs %} ## Modify an annotation +The PDF Viewer allows users to modify annotations programmatically without user interaction in the following ways. +### Modify an annotation using annotation changed event settings Annotation’s properties can be modified programmatically through `Settings` in respective annotation changed event. The following code snippet explains how to modify the selected ink annotation’s properties. Similarly, we can implement for all other annotations. @@ -177,6 +226,48 @@ private void PdfViewer_InkAnnotationChanged(object sender, InkAnnotationChangedE {% endhighlight %} {% endtabs %} +### Modify an annotation using loadedDocument + +Annotations can be modified in the PDF document using the [PdfViewerControl’s loadedDocument](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_LoadedDocument) property in the code behind. + +The following code snippet demonstrates how to modify an ink annotation at runtime. + +{% tabs %} +{% highlight C# %} + +//Modify the ink annotation in the PDF Viewer runtime. +private void ModifyAnnotation() +{ + //Get the instance of the loadedDocument from the PdfViewerControl. + PdfLoadedDocument loadedDocument = pdfViewer.LoadedDocument; + //Check whether the annotation is PdfInkAnnotation. + if(loadedDocument.Pages[0].Annotations[0] is PdfInkAnnotation) + { + PdfInkAnnotation inkAnnotation = loadedDocument.Pages[0].Annotations[0] as PdfInkAnnotation; + //Modify the color of the ink annotation + inkAnnotation.Color = new PdfColor(System.Drawing.Color.Blue); + } +} + +{% endhighlight %} +{% highlight VB %} + +'Modify the ink annotation in the PDF Viewer runtime. +private void ModifyAnnotation() +{ + 'Get the instance of the loadedDocument from the PdfViewerControl. + Dim loadedDocument As PdfLoadedDocument = pdfViewer.LoadedDocument + Dim inkAnnotation As PdfInkAnnotation = Nothing + 'Check whether the annotation is PdfInkAnnotation. + If TypeOf loadedDocument.Pages(0).Annotations(0) Is PdfInkAnnotation Then + inkAnnotation = TryCast(loadedDocument.Pages(0).Annotations(0), PdfInkAnnotation) + 'Modify the color of the ink annotation. + inkAnnotation.Color = New PdfColor(System.Drawing.Color.Blue) + End If +} +{% endhighlight %} +{% endtabs %} + ## Hide an annotation PDF Viewer allows the user to hide the annotation programmatically without user interaction. This functionality returns true if any annotation is found and hidden, otherwise it returns false. The annotation [Name](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.AnnotationChangedEventArgs.html#Syncfusion_Windows_PdfViewer_AnnotationChangedEventArgs_Name) property is used to identify the annotation. Refer this [UG link](https://help.syncfusion.com/wpf/pdf-viewer/working-with-annotations/select-and-modify-annotations#how-to-get-and-set-name-of-an-annotation) to get and set an annotation Name property. diff --git a/wpf/Range-Selector/Getting-Started.md b/wpf/Range-Selector/Getting-Started.md index c335b5e343..aeeeacb81f 100644 --- a/wpf/Range-Selector/Getting-Started.md +++ b/wpf/Range-Selector/Getting-Started.md @@ -26,13 +26,8 @@ The following section explains how to create SfDateTimeRangeNavigator. ### Add the assembly reference -1. Open the Add Reference window in your project. -2. Choose our assemblies by following the given steps depending upon the developing environment. - - * If you use VS 2012, choose Assemblies > Extensions > Syncfusion.SfChart.WPF.dll. - * If you use VS 2010, choose .Net > Syncfusion.SfChart.WPF.dll. - -3. Add the following namespace in your XAML page: +1. Refer to this [article](https://help.syncfusion.com/wpf/add-syncfusion-controls) to learn how to add Syncfusion controls to Visual Studio projects in various ways. You can also refer to [this](https://help.syncfusion.com/wpf/control-dependencies) link to learn about the assemblies required for adding Chart to your project. +2. Add the following namespace in your XAML page: {% capture codesnippet1 %} {% highlight xaml %} diff --git a/wpf/Sparkline/Getting-started.md b/wpf/Sparkline/Getting-started.md index f943f6239c..d7e26d80f1 100644 --- a/wpf/Sparkline/Getting-started.md +++ b/wpf/Sparkline/Getting-started.md @@ -16,9 +16,7 @@ Following steps explain how to create sparkline, ### Adding the assembly reference: * Open the [Add Reference](https://www.microsoft.com/en-us/download/details.aspx?id=55984) window from your project. -* To Choose our assemblies follow the below step depending upon the developing environment. -* If using VS 2012 choose Assemblies > Extensions > Syncfusion.SfChart.WPF.dll -* If using VS 2010 choose .Net>Syncfusion.SfChart.WPF.dll +* Choose Assemblies -> Extensions -> Syncfusion.SfChart.WPF * Add the following namespace in your XAML page: {% tabs %} @@ -37,6 +35,8 @@ using Syncfusion.UI.Xaml.Charts; {% endtabs %} +N> This window differs for the Visual Basic project. + ### Initialize the sparkline You need to initialize the sparkline represented by the following class Syncfusion.UI.Xaml.Charts.SfChart, diff --git a/wpf/System-Requirements.md b/wpf/System-Requirements.md index 399a0d6eda..0e7baaa4b9 100644 --- a/wpf/System-Requirements.md +++ b/wpf/System-Requirements.md @@ -28,6 +28,6 @@ This section describes the system requirements to use Syncfusion WPF Controls fo ### Development Environment -* Microsoft Visual Studio 2010/2012/2013/2015/2017/2019/2022 +* Microsoft Visual Studio 2015/2017/2019/2022 * .NET Framework 4.0/4.6.2 * .NET 6.0/.NET 7.0/.Net 8.0 \ No newline at end of file diff --git a/wpf/Testing/coded-ui.md b/wpf/Testing/coded-ui.md index a9f178ff8b..768d107e94 100644 --- a/wpf/Testing/coded-ui.md +++ b/wpf/Testing/coded-ui.md @@ -81,7 +81,7 @@ Visual Studio -Coded UI provides support only in Visual Studio – 2010, 2012 and 2013 Ultimate and Premium platforms for Visual Studio 2015 and 2017 supported only in Enterprise platform. For more information about the platforms and configurations supported by Coded UI tests, refer to this {{'[link](https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/test/supported-configurations-and-platforms-for-coded-ui-tests-and-action-recordings?view=vs-2015&redirectedfrom=MSDN#%22%22)'| markdownify }}. +Coded UI provides support only in Visual Studio – Premium platforms for Visual Studio 2015 and 2017 supported only in Enterprise platform. For more information about the platforms and configurations supported by Coded UI tests, refer to this {{'[link](https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/test/supported-configurations-and-platforms-for-coded-ui-tests-and-action-recordings?view=vs-2015&redirectedfrom=MSDN#%22%22)'| markdownify }}. @@ -367,22 +367,6 @@ C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\10.0\UITestExtensionPa -2012 - - -C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages - - - - -2013 - - -C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\13.0\UITestExtensionPackages - - - - 2015 diff --git a/wpf/TreeGrid/UI-Automation.md b/wpf/TreeGrid/UI-Automation.md index ccbd4f1663..9a5a7a71ff 100644 --- a/wpf/TreeGrid/UI-Automation.md +++ b/wpf/TreeGrid/UI-Automation.md @@ -39,15 +39,6 @@ Syncfusion.VisualStudio.TestTools.UITest.SfGridExtension.dll The SfGridExtension assembly must be placed into the following directory based on your Visual Studio version. -For Visual Studio 2010: -C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\10.0\UITestExtensionPackages - -For Visual Studio 2012: -C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages - -For Visual Studio 2013: -C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\13.0\UITestExtensionPackages - For Visual Studio 2015: C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\14.0\UITestExtensionPackages diff --git a/wpf/Visual-Studio-Integration/Add-References.md b/wpf/Visual-Studio-Integration/Add-References.md index df6ad9f12d..2852e768c0 100644 --- a/wpf/Visual-Studio-Integration/Add-References.md +++ b/wpf/Visual-Studio-Integration/Add-References.md @@ -9,7 +9,7 @@ documentation: ug # Add Reference for WPF -Syncfusion Reference Manager is the Visual Studio Add-In for WPF platform. It adds the Syncfusion assembly reference to the project, either from the GAC location or from Essential Studio installed location or from NuGet packages. It can also migrate the projects that contain the old versions of the Syncfusion assembly reference to newer or specific versions of the Syncfusion assembly reference. It supports Microsoft Visual Studio 2013 or higher. This Visual Studio extension is included from Essential Studio 2013 Volume 3 release. +Syncfusion Reference Manager is the Visual Studio Add-In for WPF platform. It adds the Syncfusion assembly reference to the project, either from the GAC location or from Essential Studio installed location or from NuGet packages. It can also migrate the projects that contain the old versions of the Syncfusion assembly reference to newer or specific versions of the Syncfusion assembly reference. It supports Microsoft Visual Studio 2015 or higher. This Visual Studio extension is included from Essential Studio 2013 Volume 3 release. N> This Reference Manager can be applied to a project for Syncfusion assembly versions 10.4.0.71 and later. diff --git a/wpf/Visual-Studio-Integration/Overview.md b/wpf/Visual-Studio-Integration/Overview.md index 9a412f6d29..eb6d08447c 100644 --- a/wpf/Visual-Studio-Integration/Overview.md +++ b/wpf/Visual-Studio-Integration/Overview.md @@ -9,7 +9,7 @@ documentation: ug # Syncfusion WPF Extension -The Syncfusion WPF Studio Extensions can be accessed through the Syncfusion Menu to create and configure the project with Syncfusion references in Visual Studio.The Syncfusion WPF Extensions supports Microsoft Visual Studio 2013 or higher. +The Syncfusion WPF Studio Extensions can be accessed through the Syncfusion Menu to create and configure the project with Syncfusion references in Visual Studio.The Syncfusion WPF Extensions supports Microsoft Visual Studio 2015 or higher. N> Syncfusion Extension is published in Visual Studio Marketplace. We provided separate Syncfusion WPF Extension support for Visual Studio 2022 and Visual Studio 2019 or lower. Please refer below marketplace link.