These are chat archives for AvaloniaUI/Avalonia

28th
Jan 2016
Nikita Tsukanov
@kekekeks
Jan 28 2016 08:26
@Phrohdoh please, compile it using xbuild and provide us with full logs
Denis Zaporozhets
@QuantumDeveloper
Jan 28 2016 10:57
hi
who can explain why attached properties must be split to the separate Get and Set?
what is the idea behind this?
Nikita Tsukanov
@kekekeks
Jan 28 2016 11:12
There is no idea, there are C# language limitations
That currently doesn't allow extension properties
Denis Zaporozhets
@QuantumDeveloper
Jan 28 2016 11:13
I mean dependecyProperties
you register it as attached and in my opinion it should have no difference from usual dependencyproperty
Nikita Tsukanov
@kekekeks
Jan 28 2016 11:14
You need two arguments to set attached property
Target object and value
Denis Zaporozhets
@QuantumDeveloper
Jan 28 2016 11:15
yes
Nikita Tsukanov
@kekekeks
Jan 28 2016 11:15
You can't have them in a property
So you need to define your setter/getter explicitly
Denis Zaporozhets
@QuantumDeveloper
Jan 28 2016 11:16
Aha, seems now I understood this
Steven Kirk
@grokys
Jan 28 2016 11:59
no difference from usual dependencyproperty
there is no difference from an attached dependency property
i.e. it's the same in every XAML based framework
Denis Zaporozhets
@QuantumDeveloper
Jan 28 2016 12:03
ok
thanks
Ivan Kochurkin
@KvanTTT
Jan 28 2016 13:44
Line, Polygon, Polyline are ready to use (except some Cairo bugs with Unifotm transform). Binding also works. Check it: Perspex/Perspex#398
Taryn
@Phrohdoh
Jan 28 2016 16:44

@kekekeks Do you know of a way to unload/ignore projects with xbuild?

I've not played with the internals and structure of slns much.
If not, then I cannot build with xbuild due to windows-specific dependencies.

Nikita Tsukanov
@kekekeks
Jan 28 2016 16:54
just build TestApplication project instread of the whole solution
Taryn
@Phrohdoh
Jan 28 2016 19:01
ah duh
Steven Kirk
@grokys
Jan 28 2016 19:55
thanks @KvanTTT - looks great on first glance, but there's a lot going on, so will take a while to review.
Ivan Kochurkin
@KvanTTT
Jan 28 2016 21:51
Now I gonna to fix @kekekeks notes.