Is there an example of how to use WinRT Interop RadialController from Win UI 3 to support Surface Dial ?? #2892
-
Looking for a code example of how to call WinRT Interop IRadialController so I can use a Surface Dial with the Win UI 3 app in C#. Windows Community Toolkitfor WinUI has a Text Extension that is supposed to work with RadialController but that feature is currently broken with no projected bug fix date. There is sample code for a Windows RT interop folderpicker Class: https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/winrt-com-interop-csharp but not for IRadialControllerInterop interface. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Well, in the page that you referenced is a table with the interop interface with the C♯ interop class. If you notice, it is a namepsace followed by the class name. What this means is that in this case, you should be looking for Windows.UI.Input.RadialControllerInterop.
|
Beta Was this translation helpful? Give feedback.
Well, in the page that you referenced is a table with the interop interface with the C♯ interop class. If you notice, it is a namepsace followed by the class name. What this means is that in this case, you should be looking for Windows.UI.Input.RadialControllerInterop.
This means it should be as simple as: