We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use the Syncfusion XAML controls in C++ project?

The Syncfusion XAML controls cannot be used directly. You can use them by creating a UserControl as C# WindowsRuntimeComponent. The following steps guide on how to achieve this.

  1. Create a C++ application.

Figure 1: Creating C++ application

  1. In Solution Explorer, add a new C# WindowsRuntimeComponent project to the Solution and add reference to your desired Syncfusion controls for WinRT XAML for the project (WindowsRuntimeComponent1.csproj).
  2. Create a UserControl (MyUserControl.xaml).

Figure 2: Solution Explorer

  1. Add the Syncfusion components to the UserControl as illustrated in the following code example.


  1. Add the WinRT reference component to the C++ Application and drop the UserControl, containing the Syncfusion components on the page.
  2. Now, the Syncfusion controls are successfully added to the C++ application. The above code example results in the following output.

Figure 3: Syncfusion control added in C++ application

Article ID: Published Date: Last Revised Date: Platform: Control:
2993 12/04/2014 03/19/2015 WinRT General
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon