<MultiDataTrigger> <MultiDataTrigger.Conditions> I want to put a condition here saying if select button is clicked(the select button is a ribbon toggle button) then only on mouse over the decorator shoulds be visble </MultiDataTrigger.Conditions> <Setter TargetName="Decorator" Property="Visibility" Value="Visible"/> </MultiDataTrigger>
<Trigger Property="IsMouseOver" Value="true"> <Setter TargetName="Decorator" Property="Visibility" Value="Visible"/> </Trigger>
If you want conditions on Dependency Properties, you can use a MultiTrigger.
If your have conditions on properties the aren't Dependency Properties, you can use a MultiDataTrigger.
There are examples of the use of these triggers in the MSDN topics about them.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)