In WPF If you set up a control style or rectangular pattern if Copy a new style that will double such as
Both times to the emergence of a new style will change, but to change the following rectangular me a good definition of a lot of trouble later Copy
Solutions to common style is set to static resources
-
<Window.Resources>
-
<LinearGradientBrush x:Key=
"RectFill" EndPoint=
"0.5,1" StartPoint=
"0.5,0">
-
<GradientStop Color=
"Black" Offset=
"0"/>
-
<GradientStop Color=
"#FFCB8787" Offset=
"0.582"/>
-
<GradientStop Color=
"#FF8F6464" Offset=
"0.808"/>
-
</LinearGradientBrush>
-
</Window.Resources>
-
<Grid>
-
<Rectangle Fill=
"{StaticResource RectFill}" HorizontalAlignment=
"Left" Height=
"76" Margin=
"85,70,0,0" Stroke=
"Black" VerticalAlignment=
"Top" Width=
"243">
-
-
</Rectangle>
-
<Rectangle Fill=
"{StaticResource RectFill}" HorizontalAlignment=
"Left" Height=
"76" Margin=
"85,163,0,0" Stroke=
"Black" VerticalAlignment=
"Top" Width=
"243">
-
-
</Rectangle>
-
-
</Grid>