These are chat archives for AvaloniaUI/Avalonia

15th
Jun 2017
Bahram Pouryousefi
@BpsTheCool
Jun 15 2017 02:48 UTC
can we use Avalonia on Raspbian?
danwalmsley
@danwalmsley
Jun 15 2017 12:38 UTC
some attempts have been made I think @mterwoord has latest progress in this area!
MonkAlex
@MonkAlex
Jun 15 2017 16:25 UTC
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 UTC
Does it show anything without MemberSelector?
MonkAlex
@MonkAlex
Jun 15 2017 17:44 UTC
Nope
изображение.png
Nikita Tsukanov
@kekekeks
Jun 15 2017 17:46 UTC
Check with devtools
if datacontext is set correctly
MonkAlex
@MonkAlex
Jun 15 2017 17:56 UTC
Ty, its work. I try use window as datacontext and no idea why its failed
Nikita Tsukanov
@kekekeks
Jun 15 2017 17:58 UTC
That's probably a bad idea
Use a separate view model
MonkAlex
@MonkAlex
Jun 15 2017 18:18 UTC
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 UTC
F12