none
[UWP] Module, component or something like that in UWP

    Question

  • Hello,

    I need to do something like module, component, etc.

    This component should have code behind logic and ui based on ListView. It should be done in C# (not in C++ or vb)

    It will be used in my apps, as code reuse.

    I need to find any sample how to create such component in UWP, how to put it into app code, how to style it, etc.

    I found any sample but it describes only component without ui.

    Please give me a link to any fine, sample.

    Sunday, March 19, 2017 10:30 PM

Answers

  • Hello,

    Why you don't use C# UWP ClassLibrary for that? I think it is what you want.


    Make the community better together

    • Marked as answer by BitSmithy Tuesday, March 21, 2017 12:25 PM
    Monday, March 20, 2017 7:35 AM

All replies

  • Hello,

    Why you don't use C# UWP ClassLibrary for that? I think it is what you want.


    Make the community better together

    • Marked as answer by BitSmithy Tuesday, March 21, 2017 12:25 PM
    Monday, March 20, 2017 7:35 AM
  • C# UWP ClassLibrary - I googled and it looks promising - but I cant find any sample how to use it with visual components such as ListView. Do you know any link to such www page.
    Monday, March 20, 2017 2:25 PM
  • It is such easy a thing that there doesn't need sample . What you have to do . The first add new UWP class library to your solution after ad its reference in  "application project" where you want to use that classes library. After add "Pages" ,"UserControls" and other user controls to your class library  as you do for standard  UWP application. 

    Make the community better together

    Monday, March 20, 2017 2:41 PM