Aspose Cells Grid Desktop with WPF

Hi,

Is it possible to user Grid Desktop with WPF?


Hi,

Thanks for your inquiry.


I am afraid, the feature (Support for Aspose.Cells.GridDesktop in WPF) might not be available at this moment. However, we have already logged a new feature request for the issue with a ticket id: “CELLSNET-41264”.

Once, we will have some update for you, we will let you know here.

Thank you.

Hi,

Thanks for your inquiry.

We are afraid, currently, Aspose.Cells for GridDesktop is not supported for WPF applications and we do not have any plan to support it in future.

Hi Ricky,


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.

  1. Create a WPF application in Visual Studio
  2. Open the project properties and change the target framework to .NET Framework 4 or higher
  3. Add reference for WindowsFormsIntegration and System.Windows.Forms and System.Web and Aspose.Cells.GridDesktop
  4. 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>


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.
(1)