Skip to content

Commit 4828b55

Browse files
authored
Update displaying-images.md
Fix typo over `NotNull` in `IsVisible`
1 parent 16e9385 commit 4828b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/music-store-app/displaying-images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ Follow this procedure:
201201
- Add this data binding and converter to the panel element below:
202202

203203
```
204-
IsVisible="{Binding Cover, Converter={x:Static ObjectConverters.IsNull}}"
204+
IsVisible="{Binding Cover, Converter={x:Static ObjectConverters.IsNotNull}}"
205205
```
206206

207-
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.
207+
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 `IsNotNull` converter returns a Boolean that is true when the value object, which is the cover bitmap, is not null.
208208

209209
:::info
210210
For more information about the _Avalonia UI_ built-in binding converters, see the reference [here](../../reference/built-in-data-binding-converters.md).

0 commit comments

Comments
 (0)