Developer technologies | Visual Studio | Debugging
A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
I have a problem. My application has many objects end they have a color fill. But I can't see it in Designer. When I start my play all objects have only white color. Why? What do I have to do? Please see any screenshots.
Best regards, Alexander
It seems that your objects do not have a background. Try something like this:
<Canvas . . . .>
<Canvas.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</Canvas.Background>
</Canvas>