Custom Color Palette in Visual Studio Color Property Editor

前端 未结 3 1434
野的像风
野的像风 2020-12-06 12:42

Within the Visual Studio Designer, under the properties window you are able to select the ForeColor, BackColor etc using color picker. When you wan

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 13:10

    I know it's been quite some time...

    You can use MergedDictionaries and reference a Resource Dictionary in your App.xml file.

    That will put the colors you define in the palette but you would have to include the same Resource Dictionary and reference it in every App.xaml for every application you use, which, in my opinion, is good because sometimes you have to use custom colors for different applications.Custom Color Palette

    Something like that

提交回复
热议问题