Blend supports the display of a graphical representation of a style resource and allows you to select the active property / event trigger to view or change. However, a common occurrence is the presence of visual elements controlled by DataTriggers. Can we tell the designer that he should consider the active DataTrigger object so that his visual changes can be seen in the designer?
Example:
<Style x:Key="MyBorder" TargetType="Border">
<Setter Property="CornerRadius" Value="5" />
<Style.Triggers>
<DataTrigger Binding="{Binding IsRandomPropertyActive}" Value="True">
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#FFFF8935" Offset="0" />
<GradientStop Color="#FFFF610C" Offset="1" />
</LinearGradientBrush>
</Setter.Value>
</Setter>
</DataTrigger>
</Style.Triggers>
</Style>
In the designer, this simply displays an empty field, since the default style does not define specific visual aspects. Should I tell the developer that I want him to assume that IsRandomPropertyActive is true and displays the appropriate style?