Using WPF controls in a background or ASP.Net environment

后端 未结 2 416
青春惊慌失措
青春惊慌失措 2021-01-21 19:16

I have noticed that some WPF controls have some decent effects available to them (drop shadow, reflection etc), and was wondering if it was possible to use these WPF controls so

2条回答
  •  借酒劲吻你
    2021-01-21 20:00

    Take a look at RenderTargetBitmap. You could do whatever with your WPF component, then render it as a bitmap, and then use that bitmap on your ASP page.

    I'm not sure that is the best way of doing it though. Is Silverlight out of question for you?

提交回复
热议问题