You can use the converter and configure your work for him for me. Let's try to make the code below.
Converter Code
public class NullValueBoolConverter: IValueConverter, IMarkupExtension { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is string) { if (string.IsNullOrEmpty(value as string)) { return false; } else { return true; } } else { if (value == null) { return false; } else { return true; } } } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { return value; } public object ProvideValue(IServiceProvider serviceProvider) { return this; } }
And bind the IsVisible property as shown below:
<StackLayout IsVisible="{Binding Registerclosure.Notes, Converter={Helpers:NullValueBoolConverter}}"> </StackLayout>
Do not go below the title bar
XMLNS: Helpers = "CLR Names: MyNameSpace"
source share