<Rectangle
Stroke="Black">
<Rectangle.Style>
<Style TargetType="{x:Type Rectangle}">
<Setter Property="StrokeThickness"
Value="1" />
<Style.Triggers>
<DataTrigger Binding="{Binding Path=Selected}"
Value="True">
<Setter Property="StrokeThickness"
Value="2" />
</DataTrigger>
</Style.Triggers>
</Style>
</Rectangle.Style>
</Rectangle>
12 years ago
No comments:
Post a Comment