WindowsAppSDK-Samples icon indicating copy to clipboard operation
WindowsAppSDK-Samples copied to clipboard

Convert the CustomEditControl sample to WindowsAppSDK

Open curia-damiano opened this issue 2 years ago • 5 comments

Which sample are you requesting?

CustomEditControl sample originally found at https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/CustomEditControl

Describe the feature

The old sample worked fine in UWP, but it used some classes like CoreTextServicesManager that are not available in WinUI 3 (see docs at https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-supported-api).

If we want our biggest customers to migrate to WindowsAppSDK, we need to convert this sample showing how to achieve the same result.

curia-damiano avatar Sep 21 '21 07:09 curia-damiano

Thanks for filing this @curia-damiano. Here's the thread tracking this issue: https://github.com/microsoft/microsoft-ui-xaml/issues/4239

CoreTextServicesManager is supported in WinUI 3 when running on Windows 11, but is not supported on Windows 10 (there was an OS-level bug that needed to be fixed). As discussed in that other thread, do you need this to be supported in Windows 10?

andrewleader avatar Sep 23 '21 22:09 andrewleader

Hi @andrewleader, I would need it for Windows 10 1809 IoT Enterprise LTSC

curia-damiano avatar Sep 24 '21 13:09 curia-damiano

My custom edit control also uses this.

lgBlog avatar Oct 25 '21 02:10 lgBlog

Hi all, are there updates about this issue?

curia-damiano avatar Jan 17 '22 14:01 curia-damiano

Hi all, are there updates about this issue?

https://github.com/microsoft/WindowsAppSDK-Samples/pull/195

Pull request is available

ebadger avatar Apr 23 '22 13:04 ebadger