Black Background for XAML Editor

后端 未结 5 1392
孤独总比滥情好
孤独总比滥情好 2021-02-04 07:56

I am currently working on a user control that has white text and a transparent background. Unfortunately because the XAML design view within VS2010 has a white background I cann

5条回答
  •  故里飘歌
    2021-02-04 08:08

    Set the background color of the usercontrol to black in the XAML, then set it to transparent in code.

    Edit: If you're not comfortable leaving the code this way, then you can revert this change before you release, once you are done with all the designer work, though there is no harm in leaving it in.

提交回复
热议问题