Empty String Check in Trigger
- by Asim Sajjad
How can I check the empty string in triggers
<Trigger Property="Source" SourceName="ControlName" Value="">
<Setter Property="Height" Value="0" TargetName="ControlName" />
</Trigger>
I have set the Height of the Control to 0 if the source of the imageControl is empty stirnr or not set? How can I do it, Basically If the image is not set then I want to hide the image control in the template.
thanks in advance.