In the Below XAML code, [code] <TextBlock x:Name="ExpiryDateTextBlock“ Text="{Binding ExpiryDate, StringFormat='MM-dd-yyyy', TargetNullValue='NA'}" > </TextBlock> [/code] Which of the following is correct?
1. 'NA' will be displayed if the ExpiryDate is null. 2. 'NA' will be displayed if the ExpiryDate is less than current date. 3. ExpiryDate value is displayed in the 'MM-dd-yyyy' format 4. Throws a compile-time error. 5. Both 1 and 3
How to participate: