This commit is contained in:
mostmand 2022-06-03 13:06:16 +04:30 коммит произвёл GitHub
Родитель d0d7749636
Коммит 75a6e35dea
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -169,7 +169,7 @@ The `ListBox` will see that the `SearchResults` has an item inside it, it will c
</Application.DataTemplates>
```
This ViewLocator is a special `DataTemplate` that will take the typename, in this case `Avalonia.MusicStore.ViewModels.AlbumViewModel` and check to see if a `View` exits at `Avalonia.MusicStore.Views.AlbumView`.
This ViewLocator is a special `DataTemplate` that will take the typename, in this case `Avalonia.MusicStore.ViewModels.AlbumViewModel` and check to see if a `View` exists at `Avalonia.MusicStore.Views.AlbumView`.
If the ListBox finds one, it will display whatever `xaml` that `View` describes inside the `ListBox`, otherwise it will just show the typename inside the `ListBox` as a string.