From 5a9fbaff7e5ef0913dd200e8c339271f3be70ecd Mon Sep 17 00:00:00 2001 From: Simusharp <50286240+Simusharp@users.noreply.github.com> Date: Sat, 28 Sep 2024 22:44:13 -0400 Subject: [PATCH] Update displaying-images.md There is a typo in the logic; it should IsVisible when IsNotNull --- docs/tutorials/music-store-app/displaying-images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/music-store-app/displaying-images.md b/docs/tutorials/music-store-app/displaying-images.md index 93a0fbadb..81b038bae 100644 --- a/docs/tutorials/music-store-app/displaying-images.md +++ b/docs/tutorials/music-store-app/displaying-images.md @@ -201,7 +201,7 @@ Follow this procedure: - Add this data binding and converter to the panel element below: ``` -IsVisible="{Binding Cover, Converter={x:Static ObjectConverters.IsNull}}" +IsVisible="{Binding Cover, Converter={x:Static ObjectConverters.IsNotNull}}" ``` A converter is an extension of a data binding expression that can convert the binding value before it is passed to the bound control. The `IsNull` converter returns a Boolean that is true when the value object is null.