<ControlTemplate.Triggers> <Trigger Property="testDoubleVariable" Value="Maximum"> <Setter Property="Visibility" TargetName="TestElement" Value="Visible"/> </Trigger> </ControlTemplate.Triggers>
But I do understand this way it can't be done.
Is there any other way to perform trigger when my "testDoubleVariable" equals to "Maximum" value of control.
I dont want to do this in codes, just in xaml.
Thanks in advance for ur suggestions
Rgds
Nishant