I have two TextBlock whose TextProperty is binded to two properties in class. Namely, StackingText and StackingRate... I want that if StackingRate is null or empty, the StackingText should be set to null or empty since the default value for StackingText is "Is charged at".
<TextBlock Name="stackingText"
Margin="270,215,0,0"
Text="{Binding Path=StackingText}"
HorizontalAlignment="Left"
VerticalAlignment="Top"
FontSize="14"
Padding="5"/>
<TextBlock Name="stackingRate"
Margin="270,215,0,0"
Text="{Binding Path=StackingRate}"
HorizontalAlignment="Left"
VerticalAlignment="Top"
FontSize="14"
Padding="5"/>
Actually i am printing this page, so it doesn't make sense that when stackingRate is empty, stackingText has value.