diff --git a/wpf/GridControl/Getting-Started.md b/wpf/GridControl/Getting-Started.md index 60a6f3f133..20ca88e769 100644 --- a/wpf/GridControl/Getting-Started.md +++ b/wpf/GridControl/Getting-Started.md @@ -23,7 +23,7 @@ N> Refer [Choose between different Grid's](https://help.syncfusion.com/wpf/datag ## Adding the Grid Control to a WPF Application -In this section, we will see how to add the Grid control to a WPF application and load random data. The Grid control can be added to an application through one of the following methods: through a designer or programmatically. +In this section, we will see how to add the Grid control to a WPF application and load random data. The Grid control can be added to an application through one of the following methods: through a designer, programmatically, or by installing the required NuGet packages. ### Adding the Grid Control through a Designer @@ -47,7 +47,7 @@ Please follow the steps below to add the Grid control through a designer. ### Programmatically Adding the Grid Control -Instead of adding it through a designer such a Visual Studio, you can add the Grid control programmatically. +Instead of adding it through the Visual Studio Designer, you can add the Grid control programmatically using either a NuGet package or direct assembly references. 1. Create a new WPF application. @@ -123,7 +123,7 @@ for (int i = 0; i < 100; i++) {{ codesnippet3 | OrderList_Indent_Level_1 }} -2. You can populate data by handling the QueryCellInfo event of gridControl. This will load the data in and on-demand basis, ensuring optimized performance. +2. You can populate data by handling the QueryCellInfo event of gridControl. This will load the data on demand, ensuring optimized performance, especially when working with millions of rows. Refer to the [Virtualization](https://help.syncfusion.com/wpf/GridControl/virtualization) section for more details. {% capture codesnippet4 %} {% tabs %} diff --git a/wpf/Licensing/how-to-register-in-an-application.md b/wpf/Licensing/how-to-register-in-an-application.md index 73a47210dc..e2ef96a20a 100644 --- a/wpf/Licensing/how-to-register-in-an-application.md +++ b/wpf/Licensing/how-to-register-in-an-application.md @@ -7,22 +7,42 @@ control: Essential Studio documentation: ug --- -# Register Syncfusion License key in WPF application +# Register Syncfusion license key in a WPF application The generated license key is just a string that needs to be registered before any Syncfusion control is initiated. The following code is used to register the license. +**Registering a single license key** + {% tabs %} {% highlight c# %} Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY"); {% endhighlight %} {% endtabs %} -N> * Place the license key between double quotes. Also, ensure that Syncfusion.Licensing.dll is referenced in your project where the license key is being registered. -* Syncfusion license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion license key can be deployed on any system that does not have an internet connection. +**Registering multiple license keys** + +You can register multiple license keys using either a comma (,) or a semicolon (;) as the separator between keys. + +{% tabs %} +{% highlight c# %} +Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY_1,YOUR LICENSE KEY_2,..."); +{% endhighlight %} +{% endtabs %} + +or + +{% tabs %} +{% highlight c# %} +Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY_1;YOUR LICENSE KEY_2;..."); +{% endhighlight %} +{% endtabs %} + +N> * Place the license key between double quotes. Also, ensure that Syncfusion.Licensing.dll is referenced in your project where the license key is being registered (see the package name in the Prerequisites note above). +* Syncfusion license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion license key can be deployed on any system that does not have an internet connection. I> Syncfusion license keys can be validated during the Continuous Integration (CI) processes to ensure proper licensing and prevent licensing errors during deployment. Refer to the [CI License Validation](https://help.syncfusion.com/wpf/licensing/licensing-faq/ci-license-validation) section for detailed instructions on how to implement it. -### WPF +### WPF You can register the license key in App constructor of **App.xaml.cs** in C#. If App constructor not available in **App.xaml.cs**, create the "App()" constructor in **App.xaml.cs** and register the license key inside the constructor. In Visual Basic, register the license code in **App.xaml.vb**.