how to use swapChainPanel in winui3?

mc 6,596 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 development | Windows App SDK
0 comments No comments
{count} votes

Answer accepted by question author
  1. Castorix31 91,536 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.