In WPF custom control I used to implement appearence changing of a custom control based on another property of this custom control with the help of Triggers mechanism, for example when my custom control changes its property AStatus
to value Available
its background color changes to Green
:
<Trigger Property="AStatus" Value="Available">
<Setter TargetName="PART1" Property="Background" Value="Green"/>
<Setter TargetName="PART_Backgr" Property="Background" Value="Green"/>
</Trigger>
But Silverlight lacks of Triggers functionality. And for changing appearence of custom controls in Silverlight the VisualStateManager should be used. But I cannot find the way this condition can be implemented with the help of the VisualStateManager.
How is it possible to implement changing a style of Silverlight custom control when another property of this custom control changes?