Is it possible to user Grid Desktop with WPF?
Hi Chandragupta,
Hi Chandragupta,
Thanks for considering Aspose.Cells.GridDesktop.
It is difficult to support this feature. We need to add WPF run-time support and change event and render part of code based on WPF framework. Currently, we do not have any plan to do it .
Hi again,
Please check the following steps to use Aspose.Cells.GridDesktop in a WPF application. You can also check the sample application demonstrating the usage of Aspose.Cells.GridDesktop in a WPF application.
- Create a WPF application in Visual Studio
- Open the project properties and change the target framework to .NET Framework 4 or higher
- Add reference for WindowsFormsIntegration and System.Windows.Forms and System.Web and Aspose.Cells.GridDesktop
- Edit MainWindow.xaml file as follow and implement the FrameworkElement_OnLoaded method in CS file.
<Window x:Class=“WpfCellsGridDesktop.MainWindow”
xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml”
xmlns:d=“http://schemas.microsoft.com/expression/blend/2008”
xmlns:mc=“http://schemas.openxmlformats.org/markup-compatibility/2006”
xmlns:ignore=“http://www.galasoft.ch/ignore”
xmlns:wf=“clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms”
xmlns:gridDesktop=“clr-namespace:Aspose.Cells.GridDesktop;assembly=Aspose.Cells.GridDesktop”>
<WindowsFormsHost.Child>
<gridDesktop:GridDesktop x:Name=“asp” />
</WindowsFormsHost.Child>
Save Editcancel
The issues you have found earlier (filed as CELLSNET-41264) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(3)