ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2017-03-26 04:40:25

sirmfletcher
Member
Registered: 2016-12-10
Posts: 8

Getting WPF Demo Project to Build

I recently converted my winforms project over to WPF... (smaller memory footprint and better performance)

For anyone here trying to play with the WPFDemo project here's what you need to do,
SINCE IT WILL NOT COMPILE AS IS! lol (its close though!)

  • 1st) To simplify troubleshooting unload the DemoProject inside the WPFDemo Solution
    leaving just the Reogrid control project! SET the Reogrid as the Startup!!

  • 2nd) Change the Build on the toolbar from Debug to Release   [(Any CPU) is ok as is]

  • 3rd) Goto Properties of the ReoGridWPF project
       Select the Build Tab...
       Choose: WPFRelease

  • 4th)Add Reference to System.Xaml !!!!! (if you're building .net 4.0 or above you will need to choose the 4.0 assembly)
        without the above reference you'll get a ton errors saying
        The type 'IQueryAmbient' is defined in an assembly that is not referenced

  • 5th) Build the grid control (if no issues now)

  • 6th) Reload the DemoWpf Project & Set as Startup Project

  • 7th) Run

PS. the whole reason behind the above, was to try and resolve where text too big to fit and wrapped doesn't center properly after wrapping!

Fletch

Last edited by unvell (2017-04-02 12:25:42)

Offline

Board footer

Powered by FluxBB