I want to make my usercontrol with yellow background while designing. After design it should stay transparent. I've tried to use the "Ignore" flag but could not catch how it works.
<UserControl x:Class="Abnehmen_Standard.ucRoundButton"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="84" d:DesignWidth="84"
d:Background="Yellow"
Last row does not work.
Can you advice me?
This will work if you are using Expression blend. As you can see in your mark up
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
"d" is used only for expression blend not for visual studio.
Look at this article if you want to do the same for visual studio, you will have to do some coding for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With