I am a little confused as to how best to display 1 of 3 different strings based on a condition. I have 2 data fields - mobile number and telephone number and I want to display them in a listview. If there is a mobile number I want it to display that otherwise if there is no mobile number but a telephone number I want to display the telephone number. Or if there is neither a mobile number or telephone number then I want to display the string "No number available".
< Label Text="{Binding NumberText}" TextColor="Teal" FontSize="11"/>
String
will be used to be bounded to the label, the content of that string you can change in the ViewModel/Code behind – Greggz