Skip to content
Open
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
40 changes: 26 additions & 14 deletions wpf/Add-Syncfusion-Controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,35 @@ documentation: ug
---
# Add Syncfusion<sup>&reg;</sup> WPF Controls

The Syncfusion<sup>&reg;</sup> WPF controls can be added in a Visual Studio projects by using either of the following ways:

The Syncfusion<sup>&reg;</sup> WPF controls can be added to a Visual Studio project by using any of the following ways:

* Using Designer
* Using XAML
* Using Code-Behind
* Using Project Template

## Using Designer

Syncfusion<sup>&reg;</sup> UI for WPF are added automatically to the Visual Studio Toolbox during installation. The following steps help you to add the required Essential<sup>&reg;</sup> WPF control using drag and drop from the Toolbox. For example: **SfTextBoxExt**

Syncfusion<sup>&reg;</sup> UI for WPF controls are added automatically to the Visual Studio Toolbox during the installation. The following steps help you to add the required Essential<sup>&reg;</sup> WPF control using drag and drop from the Toolbox. For example: **SfTextBoxExt**

1. Create a WPF project in Visual Studio.

2. Find **SfTextBoxExt** by typing the name of the "SfTextBoxExt" in the search box.
2. Find **SfTextBoxExt** by typing "SfTextBoxExt" in the search box of the Toolbox.

![Drag and drop from toolbox](ThroughDragndDrop_images/AddSyncfusionControls_img1.jpeg)

3. Drag **SfTextBoxExt** and drop it in the designer.

![WPF TextBoxExt control](ThroughDragndDrop_images/AddSyncfusionControls_img2.jpeg)

### Using XAML

The following steps help you to add a required Essential<sup>&reg;</sup> WPF Control using XAML Code, for example: **SfTextBoxExt**.
## Using XAML

1. Create a WPF project in Visual Studio and refer the following assemblies:
The following steps help you to add the required Essential<sup>&reg;</sup> WPF control using XAML, for example: **SfTextBoxExt**.

1. Create a WPF project in Visual Studio and refer the following assemblies:
* Syncfusion.SfInput.WPF.dll
* Syncfusion.SfShared.WPF.dll

Expand All @@ -47,15 +50,15 @@ The following steps help you to add a required Essential<sup>&reg;</sup> WPF Con
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf" />
xmlns:syncfusion="http://schemas.syncfusion.com/wpf">

{% endhighlight %}

{% endtabs %}
{% endcapture %}
{{ codesnippet1 | OrderList_Indent_Level_1 }}

3. Now, add the SfTextBoxExt control with a required optimal name using the included namespace.
3. Now, add the SfTextBoxExt control with the required name using the included namespace.

{% capture codesnippet2 %}
{% tabs %}
Expand All @@ -72,35 +75,42 @@ The following steps help you to add a required Essential<sup>&reg;</sup> WPF Con

## Using Code-Behind

Syncfusion<sup>&reg;</sup> UI for WPF can be added at runtime using C# / VB. The following steps help you to add required Essential<sup>&reg;</sup> WPF control using code. For example: **SfTextBoxExt**.

Syncfusion<sup>&reg;</sup> UI for WPF controls can be added at runtime using C# / VB. The following steps help you to add a required Essential<sup>&reg;</sup> WPF control using code. For example: **SfTextBoxExt**.

1. Create a WPF project in Visual Studio and refer to the following assemblies:

* Syncfusion.SfInput.WPF.dll
* Syncfusion.SfShared.WPF.dll


2. Create an instance of **SfTextBoxExt**, using its namespace.

{% capture codesnippet3 %}
{% tabs %}

{% highlight C# %}

Syncfusion.Windows.Controls.Input.SfTextBoxExt textBoxExt1 = new Syncfusion.Windows.Controls.Input.SfTextBoxExt();
using Syncfusion.Windows.Controls.Input;

SfTextBoxExt textBoxExt1 = new SfTextBoxExt();

{% endhighlight %}

{% highlight VB %}

Dim textBoxExt1 As New Syncfusion.Windows.Controls.Input.SfTextBoxExt()
Imports Syncfusion.Windows.Controls.Input

Dim textBoxExt1 As New SfTextBoxExt()

{% endhighlight %}

{% endtabs %}
{% endcapture %}
{{ codesnippet3 | OrderList_Indent_Level_1 }}

3. Set the Size and Alignment of the control with required value.

3. Set the Size and Alignment of the control with the required values.

{% capture codesnippet4 %}
{% tabs %}
Expand Down Expand Up @@ -129,7 +139,8 @@ textBoxExt1.HorizontalAlignment = HorizontalAlignment.Center
{% endcapture %}
{{ codesnippet4 | OrderList_Indent_Level_1 }}

4. Add the created instance to the parent window (or the needed layout panels).

4. Add the created instance to the parent window (or to a layout panel such as a `Grid`).

{% capture codesnippet5 %}
{% tabs %}
Expand Down Expand Up @@ -198,7 +209,8 @@ N> Minimum target Framework is 4.0 for Syncfusion<sup>&reg;</sup> WPF project te

![Added assemblies for WPF control](Add-Syncfusion-Control_images\Syncfusion-Project-Template-Gallery-7.png)

![Shows project folder for added control](Add-Syncfusion-Control_images\Syncfusion-Project-Template-Gallery-8.png)

`![Shows project folder for added control](Add-Syncfusion-Control_images\Syncfusion-Project-Template-Gallery-8.png)

5. Then, Syncfusion<sup>&reg;</sup> licensing registration required message box will be shown as follows, if you have installed the trial setup or NuGet packages since Syncfusion introduced the licensing system with the 2018 Volume 2 (v16.2.0.41) Essential Studio<sup>&reg;</sup> release. Please navigate to the [help topic](https://help.syncfusion.com/common/essential-studio/licensing/license-key#how-to-generate-syncfusion-license-key), which is shown in the licensing message box to generate and register the Syncfusion<sup>&reg;</sup> license key for your project. Refer to this [blog](https://blog.syncfusion.com/post/Whats-New-in-2018-Volume-2-Licensing-Changes-in-the-1620x-Version-of-Essential-Studio.aspx) post for understanding the licensing changes introduced in Essential Studio<sup>&reg;</sup>.

Expand Down
39 changes: 14 additions & 25 deletions wpf/Blend-Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,57 +9,46 @@ documentation: ug

# Getting Started with Blend Support

Essential<sup>&reg;</sup> WPF control's Style and Template can be editable in Expression Blend and this section explains the same.

Essential<sup>&reg;</sup> WPF control's Style and Template can be edited in Expression Blend and this section explains the same.

## Edit Control Style in Expression Blend

1.Open an application in Expression Blend.
1. Open an application in Expression Blend.

2.Expand the Views, choose `Other Windows` and then choose `Objects` and `Timeline`.
2. Expand the `Views` menu, choose `Other Windows`, and then choose `Objects and Timeline`.

3.In the “Objects and Timeline” pane, select a Syncfusion<sup>&reg;</sup> control to modify a style.

![Blend-Support_images1](Blend-Support_images/GettingStarted_img1.jpeg)


4.Expand the format, then choose `Edit Style` menu.
4. The `Edit Style` menu provides the following options:

![Blend-Support_images2](Blend-Support_images/GettingStarted_img2.jpeg)


5.It provides the following options:

* Edit Current – To edit the current style. This option is disabled when control do not have a Style.
* Edit a Copy – Helps you to edit a copy of default style. When it is selected, Create Style Resource dialog box is opened, this dialog box is used to select the name for style as well as the location where file is defined.

![Blend-Support_images3](Blend-Support_images/GettingStarted_img3.jpeg)


* Create Empty – This option helps you to create an empty style for selected control. When it is selected, the same Create Style Resource dialog box is opened and it is used to select the name for style as well as choose the location.
5. In the **Create Style Resource** dialog box, choose a name for the style and select **Define in: Application** (to make it available application-wide) or **Define in: this document** (to scope it to a specific resource dictionary or the current view), and then click **OK**. The style is added to the XAML and the designer surfaces it for editing.

## Edit ControlTemplate in Expression Blend

1.Open an application in Expression Blend.
1. Open an application in Expression Blend.

2.Expand the Views, choose `Other Windows` and then choose `Objects` and `Timeline`.
2. Expand the `Views` menu, choose `Other Windows`, and then choose `Objects and Timeline`.

3.In the Objects and Timeline pane, select a Syncfusion<sup>&reg;</sup> control to modify a template.
3. In the "Objects and Timeline" pane, select a Syncfusion<sup>&reg;</sup> control to modify a template.

![Blend-Support_images4](Blend-Support_images/GettingStarted_img4.jpeg)


4.Right-click the Syncfusion<sup>&reg;</sup> control and choose `Edit` template
4. Right-click the Syncfusion<sup>&reg;</sup> control and choose `Edit Template`.

![Blend-Support_images5](Blend-Support_images/GettingStarted_img5.jpeg)


5.It provides the following options:

* Edit Current – To edit the current template of the control. This option is disabled when control do not have a template.
* Edit a Copy – Helps to edit the default template. When it is selected, Create ControlTemplate Resource dialog box is opened. This dialog box is used to select the name for template as well as the location where file is defined.

![Blend-Support_images6](Blend-Support_images/GettingStarted_img6.jpeg)

5. The `Edit Template` menu provides the following options:

* Create Empty – This option helps you to create an empty template for selected control. When it is selected, the same dialog box is opened. It is used to select the name for template as well as the location.
* **Edit Current** – To edit the current template of the control. This option is disabled when the control does not have a template.
* **Edit a Copy** – Helps you to edit a copy of the default template. When it is selected, the Create ControlTemplate Resource dialog box is opened. This dialog box is used to select the name for the template as well as the location where the template is defined.
* **Create Empty** – This option helps you to create an empty template for the selected control. When it is selected, the same Create ControlTemplate Resource dialog box is opened. It is used to select the name for the template as well as the location.

34 changes: 17 additions & 17 deletions wpf/Control-Dependencies.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
layout: post
title: Control Dependencies and Dependency assembly | WPF | Syncfusion
description: Control and it's Dependency assembly or NuGet reference details for Syncfusion Essential Studio WPF products
title: Control Dependencies and Dependency Assemblies | WPF | Syncfusion
description: Control and its dependency assembly or NuGet reference details for Syncfusion Essential Studio WPF products
platform: wpf
control: Control Dependencies
documentation: ug
---

# Control Dependencies in Syncfusion<sup>&reg;</sup>'s WPF Controls

This section contains a list of assembly or NuGet references required to use any control in the application. You can refer to the [installation and deployment section](https://help.syncfusion.com/wpf/installation-and-upgrade/system-requirements) to know about assembly installation location and [NuGet packages](https://help.syncfusion.com/wpf/installation/install-nuget-packages) section to know how to add NuGet reference.
This section contains a list of assembly or NuGet references required to use any control in the application. You can refer to the [installation and deployment section](https://help.syncfusion.com/wpf/installation-and-upgrade/system-requirements) to know where the assemblies are installed and the [NuGet packages](https://help.syncfusion.com/wpf/installation/install-nuget-packages) section to know how to add a NuGet reference.

You can refer to the [syncfusion controls section](https://help.syncfusion.com/wpf/add-syncfusion-controls) to learn how to add syncfusion<sup>&reg;</sup> control.
You can refer to the [Syncfusion controls section](https://help.syncfusion.com/wpf/add-syncfusion-controls) to learn how to add a Syncfusion<sup>&reg;</sup> control.

N> Starting with version 16.2(2018 Vol 2), the `Syncfusion.Licensing.dll` will be added as reference for all the Syncfusion WPF controls. Please refer to this [help topic](https://help.syncfusion.com/common/essential-studio/licensing/license-key), for more information.
N> Starting with version 16.2 (2018 Vol 2), the `Syncfusion.Licensing.dll` will be added as a reference for all the Syncfusion WPF controls. Please refer to this [help topic](https://help.syncfusion.com/common/essential-studio/licensing/license-key) for more information.

## AutoComplete

Expand Down Expand Up @@ -555,7 +555,7 @@ Syncfusion.OlapChart.WPF

### Exporting OLAP chart to PDF, Word, and Image

In addition to the above assemblies, the following reference needs to be added to export OLAP chart contents to PDF, word, and image.
In addition to the above assemblies, the following reference needs to be added to export OLAP chart contents to PDF, Word, and Image.

<table>
<tr>
Expand Down Expand Up @@ -649,7 +649,7 @@ Syncfusion.OlapGrid.WPF

### Exporting OLAP grid to Excel, Word, PDF, and CSV

In addition to the above assemblies, the following reference needs to be added to export OLAP grid contents to excel, word, PDF, and CSV.
In addition to the above assemblies, the following reference needs to be added to export OLAP grid contents to Excel, Word, PDF, and CSV.

<table>
<tr>
Expand Down Expand Up @@ -744,7 +744,7 @@ Syncfusion.PivotTable.Wpf

### Exporting pivot grid to Excel, Word, PDF, and CSV

In addition to the above assemblies, the following reference needs to be added to export pivot grid contents to excel, word, PDF, and CSV.
In addition to the above assemblies, the following reference needs to be added to export pivot grid contents to Excel, Word, PDF, and CSV.
<table>
<tr>
<th>Assembly references </th>
Expand Down Expand Up @@ -859,10 +859,10 @@ Syncfusion.OfficeChart.Base <br/>
Syncfusion.RichTextBoxAdv.WPF <br/>
Syncfusion.Shared.WPF
<br/>
For 3.5 and 4.0 frameworks: <br/>
For .NET Framework 3.5 and 4.0: <br/>
Syncfusion.DocIO.ClientProfile <br/>
<br/>
For 4.5 and higher frameworks: <br/>
For .NET Framework 4.5 and higher: <br/>
Syncfusion.DocIO.Base
</td>
<td>
Expand Down Expand Up @@ -1120,7 +1120,7 @@ Syncfusion.SfGrid.WPF
</table>

### Exporting DataGrid to Excel, PDF, and CSV
The following reference needs to be added in your application for exporting DataGrid to excel, pdf, and csv.
The following reference needs to be added in your application for exporting DataGrid to Excel, PDF, and CSV.

<table>
<tr>
Expand Down Expand Up @@ -1576,9 +1576,9 @@ Syncfusion.Compression.Base <br/>
Syncfusion.OfficeChart.Base <br/>
Syncfusion.Shared.WPF
<br/>
For 3.5 and 4.0 frameworks: <br/>
For .NET Framework 3.5 and 4.0: <br/>
Syncfusion.DocIO.ClientProfile <br/>
For 4.5 and higher frameworks: <br/>
For .NET Framework 4.5 and higher: <br/>
Syncfusion.DocIO.Base
</td>
<td>
Expand All @@ -1603,9 +1603,9 @@ Syncfusion.SfRichTextBoxAdv.WPF <br/>
Syncfusion.Shared.WPF <br/>
Syncfusion.Tools.WPF
<br/>
For 3.5 and 4.0 frameworks: <br/>
For .NET Framework 3.5 and 4.0: <br/>
Syncfusion.DocIO.ClientProfile <br/>
For 4.5 and higher frameworks: <br/>
For .NET Framework 4.5 and higher: <br/>
Syncfusion.DocIO.Base
</td>
<td>
Expand Down Expand Up @@ -1716,7 +1716,7 @@ Syncfusion.SfSpreadsheetHelper.WPF

### Exporting SfSpreadsheet to PDF

The following references need to be added in your application for exporting SfSpreadsheet to pdf.
The following references need to be added in your application for exporting SfSpreadsheet to PDF.

<table>
<tr>
Expand Down Expand Up @@ -1860,7 +1860,7 @@ Syncfusion.SfGrid.WPF

### Exporting TreeGrid to Excel, PDF, and CSV

The following references need to be added in your application for exporting TreeGrid to excel, pdf, and csv.
The following references need to be added in your application for exporting TreeGrid to Excel, PDF, and CSV.
<table>
<tr>
<th>Assembly references </th>
Expand Down
8 changes: 4 additions & 4 deletions wpf/Localization.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
layout: post
title: Localization in Syncfusion WPF UI Controls | Syncfusion
description: Learn about Localization support in Syncfusion WPF UI Contorls using .RESX files and also explains editing default strings of WPF controls.
description: Learn about Localization support in Syncfusion WPF UI Controls using .RESX files and also explains editing default strings of WPF controls.
platform: wpf
control: Localization
documentation: ug
---

# Localization of Syncfusion<sup>&reg;</sup> WPF Controls

Localization is the process of translating the application resources into different language for the specific cultures. You can localize the syncfusion<sup>&reg;</sup> WPF controls by adding a resource file for each language.
Localization is the process of translating the application resources into different languages for specific cultures. You can localize the Syncfusion<sup>&reg;</sup> WPF controls by adding a resource file for each language.

## Changing application culture

Expand Down Expand Up @@ -54,7 +54,7 @@ N> You can get the default resource files of all Syncfusion<sup>&reg;</sup> WPF

2) Add the [default resource files](https://github.com/syncfusion/wpf-controls-localization-resx-files) to the libraries you are using to the `Resources` folder and ensure `AccessModifier` is specified as `Public`.

N> Consider, you are using `SfDataGrid` and `Ribbon` in your application. Then, you need to copy and include `Syncfusion.SfGrid.WPF.resx` (since `SfDataGrid` present in `Syncfusion.SfGrid.WPF` library) and `Syncfusion.Tools.Wpf.resx` (since `Ribbon` present in `Syncfusion.Tools.WPF` library) files in your application under `Resources` folder. So, now you can know the key names and values of default stings used in `Syncfusion.Tools.WPF.dll` and `Syncfusion.SfGrid.WPF.dll` libraries.
N> Consider, you are using `SfDataGrid` and `Ribbon` in your application. Then, you need to copy and include `Syncfusion.SfGrid.WPF.resx` (since `SfDataGrid` present in `Syncfusion.SfGrid.WPF` library) and `Syncfusion.Tools.Wpf.resx` (since `Ribbon` present in `Syncfusion.Tools.WPF` library) files in your application under `Resources` folder. So, now you can know the key names and values of default strings used in `Syncfusion.Tools.WPF.dll` and `Syncfusion.SfGrid.WPF.dll` libraries.

![WPF DataGrid Localization](localization-images/wpf-default-resx-file.png)

Expand All @@ -75,4 +75,4 @@ N> Download demo from the [GitHub](https://github.com/SyncfusionExamples/wpf-dat

## Editing default culture strings

You can change default string of any control by adding the default .resx files ([from GitHub](https://github.com/syncfusion/wpf-controls-localization-resx-files)) to `Resources` folder of your application. If it is added, Syncfusion<sup>&reg;</sup> WPF controls reads the default string from the .resx files of application.
You can change default strings of any control by adding the default .resx files ([from GitHub](https://github.com/syncfusion/wpf-controls-localization-resx-files)) to the `Resources` folder of your application. If added, Syncfusion<sup>&reg;</sup> WPF controls read the default strings from the .resx files of the application.
Loading