These are chat archives for AvaloniaUI/Avalonia

15th
Jun 2017
Bahram Pouryousefi
@BpsTheCool
Jun 15 2017 02:48
can we use Avalonia on Raspbian?
danwalmsley
@danwalmsley
Jun 15 2017 12:38
some attempts have been made I think @mterwoord has latest progress in this area!
MonkAlex
@MonkAlex
Jun 15 2017 16:25
Can anyone help with ItemsControl? I use simple XAML and dont see elements >_<
<ItemsControl Items="{Binding List}" MemberSelector="Name"/>
In VM - public ObservableCollection<IManga> List { get; set; }
And blank white windows only
Nikita Tsukanov
@kekekeks
Jun 15 2017 17:32
Does it show anything without MemberSelector?
MonkAlex
@MonkAlex
Jun 15 2017 17:44
Nope
изображение.png
Nikita Tsukanov
@kekekeks
Jun 15 2017 17:46
Check with devtools
if datacontext is set correctly
MonkAlex
@MonkAlex
Jun 15 2017 17:56
Ty, its work. I try use window as datacontext and no idea why its failed
Nikita Tsukanov
@kekekeks
Jun 15 2017 17:58
That's probably a bad idea
Use a separate view model
MonkAlex
@MonkAlex
Jun 15 2017 18:18
I only test how it work. What the devtools? I cannot use snoop for see controls and datacontext?
Nikita Tsukanov
@kekekeks
Jun 15 2017 21:44
F12