Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wpf/Bullet-Graph/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 2 additions & 5 deletions wpf/Charts/CodedUI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion wpf/DataGrid/Styles-and-Templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 2 additions & 5 deletions wpf/DataGrid/UI-Automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 1 addition & 5 deletions wpf/Grouping/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down Expand Up @@ -49,10 +49,6 @@ The prerequisites details are listed below:
Development Environments</td><td>
<ul>
<li> Visual Studio 2015 (Ultimate, Premium, Professional, and Express)</li>
<li> Visual Studio 2012 (Ultimate, Premium, Professional, and Express)</li>
<li> Visual Studio 2010 (Ultimate, Premium, Professional, and Express)</li>
<li> Visual Studio 2008 (Team System, Professional, Standard & Express)</li>
<li> Visual Studio 2005 (Professional, Standard & Express)</li></ul></td></tr>
<tr>
<td>
<br>.NET Framework versions</td><td>
Expand Down
11 changes: 0 additions & 11 deletions wpf/Introduction/System-Requirement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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



Original file line number Diff line number Diff line change
Expand Up @@ -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<float> inkPoints = new List<float> { 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

Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down
9 changes: 2 additions & 7 deletions wpf/Range-Selector/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
6 changes: 3 additions & 3 deletions wpf/Sparkline/Getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion wpf/System-Requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 1 addition & 17 deletions wpf/Testing/coded-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Visual Studio

</td>
<td>
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 }}.
</td>
</tr>
</table>
Expand Down Expand Up @@ -367,22 +367,6 @@ C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\10.0\UITestExtensionPa
</tr>
<tr>
<td>
2012
</td>
<td>
C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\11.0\UITestExtensionPackages
</td>
</tr>
<tr>
<td>
2013
</td>
<td>
C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\13.0\UITestExtensionPackages
</td>
</tr>
<tr>
<td>
2015
</td>
<td>
Expand Down
9 changes: 0 additions & 9 deletions wpf/TreeGrid/UI-Automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ Syncfusion.VisualStudio.TestTools.UITest.SfGridExtension.dll
</table>

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

Expand Down
2 changes: 1 addition & 1 deletion wpf/Visual-Studio-Integration/Add-References.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion wpf/Visual-Studio-Integration/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down