Source UWP Community Toolkit

The UWP Community Toolkit is a good tool. https://github.com/Microsoft/UWPCommunityToolkit/tree/master

but if we installed it using NuGet, we cannot access the source code (I thought). Now I want to use "RadialGauge" only in this toolbox. and I want to change "RadialGauge" a little. then I started using RadialGauge from source without installing NuGet.

here is my step.

  • I am opening a new UWP project with C # VS 2017.

  • I have installed this code in my Management folder. UWP RadialGauge Source

  • and I am doing this project.

but no display, just white UWP windows open ... Why? I need help ... with my poor UWP knowledge, impossible to decide ...

enter image description here

Here is the project file.

https://www.dropbox.com/s/alvw6wcbiv5itsp/RadialGaugeTest.zip?dl=0

+3


source to share


1 answer


When you define a custom control, most of the time you want to give it a default style. This style should be placed inside a ResourceDictionary

titled Generic.xaml

, which should then be inside a folder named Themes .



In your case, you only copied part of the code. To make the control appear on your page, all you have to do is take its default style from here , place it in a Generic.xaml

resource, and then place the dictionary in a folder called Themes .

+5


source







All Articles