Is it possible to conditionally use XPManifest at runtime?

前端 未结 1 2222
半阙折子戏
半阙折子戏 2021-02-20 13:13

I\'m trying to let the user choose if he wants to use themed style or not. Is it possible to dynamically \"load\" the XPManifest?

If user accepts the themed style then u

1条回答
  •  醉酒成梦
    2021-02-20 13:28

    Yes you can do this. You need to use the activation context API which allows you to activate different manifests at runtime. I have used it to enable themes in an Excel add-in.

    0 讨论(0)
提交回复
热议问题