ASpose.Cells.GridDesktop support in WPF

Is it possible to user Grid Desktop with WPF?

Hi Chandragupta,


Thank you for contacting Aspose support.

I am afraid, the feature (Support for Aspose.Cells.GridDesktop in WPF) is not available at the moment. However, we have already logged a feature request in this regard under the ticket CELLSNET-41264. Once your required feature is available for public use, we will notify you here.

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.

  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>

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)