locked
custom control in html, use in c# store app RRS feed

  • Question

  • Hello everyone,

            I have one question. If i create custom control in c# so can i use this control in windows store app which is create in c++, html or vb? In sort i create custom control in any language & use in any language, Is it possible?

    Thursday, June 20, 2013 6:42 AM

Answers

  • A Xaml control can be used in any language (C#, C++, VB) Xaml app, but not in an HTML app. You cannot mix the UI layers.

    --Rob

    • Marked as answer by Khant Nipun Thursday, June 20, 2013 9:29 AM
    Thursday, June 20, 2013 7:47 AM
    Moderator

All replies

  • A Xaml control can be used in any language (C#, C++, VB) Xaml app, but not in an HTML app. You cannot mix the UI layers.

    --Rob

    • Marked as answer by Khant Nipun Thursday, June 20, 2013 9:29 AM
    Thursday, June 20, 2013 7:47 AM
    Moderator
  • So I am create my control using JavaScript & use in xaml & c# project, that is possible?
    Thursday, June 20, 2013 8:21 AM
  • like rob said, you cant mix xaml and html, so no not possible

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, June 20, 2013 9:17 AM