CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
384 stars 89 forks source link

InkCanvas not working as exected for Windows Forms App #309

Open ScruffR opened 3 years ago

ScruffR commented 3 years ago

Describe the bug

I seem to be unable to use InkCanvas in my Windows Forms Application although it's targeted at .NET Core 3.1

Steps to Reproduce

Steps to reproduce the behavior:

  1. I create a new Windows Forms App
  2. Import NuGet packages Microsoft.Toolkit.Forms.UI.XamlHost and Microsoft.Toolkit.Forms.UI.Controls
  3. Try to add XamlHost and/or InkCanvas control to the form
  4. See error

image image

Expected behavior

This should work, shouldn't it? Would be nice to have a working demo solution that shows InkCanvas usage in a Windows Forms App - not only WPF

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

NuGet Package(s): image

Project .NET Version:

Windows 10 Build Number: image

Device form factor:

Visual Studio image

ghost commented 3 years ago

Hello ScruffR, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost commented 3 years ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

michael-hawker commented 3 years ago

FYI @marb2000