how to use swapChainPanel in winui3?

mc 4,376 Reputation points
2023-09-14T09:42:41.86+00:00

how to use swapChainPannel in winui to draw some gif using direct 2d?

if the swapChainPanel is in grid and how to createSwapChainPanel and bind to it? in direct2d not win2d

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
777 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 84,281 Reputation points
    2023-09-14T15:04:58.52+00:00

    I just uploaded an old sample I had done, in WinForms then converted into WinUI 3, to test animated sprites in Direct2D : WinUI3_SwapChainPanel_Direct2D

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.