Steven Kirk
f4c57b169b
Handle BindingNotifications in ExpressionSubject.
10 years ago
Steven Kirk
06b0d15fc2
Surface BindingNotifications in AvaloniaObject.
10 years ago
Steven Kirk
4fe2a3d86c
Removed vestiges of old data validation.
10 years ago
Steven Kirk
0c2057e458
Fix failing tests, add other tests.
Also use logical parent's DataContext as base for DataContext bindings
instead of visual parent's. Was previously in error.
10 years ago
Steven Kirk
0d4a613580
Updated some docs.
And simplified a bit of failing test code.
10 years ago
Steven Kirk
0b0ca8b0cb
Fix MemberSelector.
10 years ago
Steven Kirk
daff817ce4
Subscribe to ExpressionSubject before setting value.
The inner `ExpressionObserver` must be subscribed to as setting the
value requires the expression to be evaluated.
10 years ago
Steven Kirk
c5c60c483a
Add concept of "value plugins".
These are used to extensibly handle special values like `Task` and
`IObservable<>`. Previously this was baked into the expression observer
architecture with a TODO comment saying that it needs to be extensible.
10 years ago
Steven Kirk
2f72295657
Started refactor of ExpressionObserver.
Tying to be more "rx", but also will allow us to move forward on BindingNotification changes.
10 years ago
Steven Kirk
4906a472b0
Reimplemented data validation using BindingNotifications.
10 years ago
Steven Kirk
abdbcac79d
Added BindingNotification.
This will replace BindingError and IValidationStatus for bindings that want to notify binding/validation errors. Still WIP.
10 years ago
Steven Kirk
1c88b3bd85
Fix scrolling to item when size == 0,0
When virtualized presenter size == 0,0 no containers will be
materialized so no container will be found.
Fixes #591 .
10 years ago
Steven Kirk
dd728dae5b
Fix measuring to infinity when scrolled to end.
When a virtualized list was scrolled to the bottom and then the list was
measured with a size larger than needed to fit all items (in this case
we use infinity) then the virtualizer tries to go backwards to add items
at the top of the currently visible items by setting `step = -1`;
however it didn't check whether the current index was < 0.
Fixes #589 .
10 years ago
yusuf-gunaydin
282082a05e
Setter does not build the template if the target property derives from ITemplate.
10 years ago
Steven Kirk
3ee83263c8
Make indexer produce/consume IBinding.
10 years ago
Wiesław Šoltés
0d7628516c
Update Skia projects
10 years ago
Wiesław Šoltés
768fd0e79f
Update iOS projects
10 years ago
Wiesław Šoltés
aad802a156
Update Android projects
10 years ago
Jeremy Koritzinsky
3c5848bc2c
Updated Rx to 3.0 and fixed a failing test from a not fully set up mock.
10 years ago
Wiesław Šoltés
238a4914d9
Fix Skia SetFillRule
Fixes #583
10 years ago
Steven Kirk
de2916e03c
Fix DevTools hit testing.
Filter out invisible controls.
10 years ago
Steven Kirk
3c4b8cdf90
Implement input hit testing on top of visual layer.
10 years ago
Steven Kirk
1824175e6b
Use render bounds in visual hit testing.
It was previously used in input hit testing but not in visual hit
testing.
10 years ago
Steven Kirk
dc60d4bfb3
Allow overriding ContentPresenter control creation.
10 years ago
Steven Kirk
72cb1cf311
Don't reapply templates unnecessarily.
When detaching and re-attaching to the same logical tree.
10 years ago
Seeker1437
9ba1df75a5
Adjusts Namespace Ordering [skip-ci]
10 years ago
Seeker1437
0941ba7afa
Adds DateTimeTypeConverter
10 years ago
Steven Kirk
9f009eb4f2
Fixed failing namespace registry test.
10 years ago
donandren
0be9f0e648
fixed PathMarkupParser now parsing negative values without separator
10 years ago
Steven Kirk
c3220b92f1
Don't try to show non-materialized item.
Also added null checks for all ControlExtension methods. Fixes #578 .
10 years ago
Steven Kirk
7e3082dcec
Prevent stack overflow in focus code.
When a focus scope had null as its focused element, a stack overflow was
occurring. Fixes #577 .
10 years ago
Steven Kirk
c554467d13
Invalidate measure when control removed
When a control's parent changes, invalidate its measure and the measure
of all descendents.
10 years ago
Steven Kirk
5a72ed8586
Don't add virt items when attached to visual tree.
Don't add virtualized items before the virtualizing panel is attached to
the visual tree, as bindings etc won't be set and so measurement will
produce 0,0 causing all items to be materialized.
10 years ago
Steven Kirk
f8f6e8d079
Clarified documentation.
10 years ago
Steven Kirk
d581bfe69e
Limit initial measure of virtualized list.
Prevents all items being materialized when virtualized control is
measured with infinity.
10 years ago
Steven Kirk
ca305adea0
Don't send resize message on minimize.
Fixes #571 .
10 years ago
donandren
3e2c6a3cd5
using structs to avoid memory allocations when save/restore paint state in Skia DrawingContextImpl
10 years ago
donandren
6ac363bf47
avoid passing delegates here and there in rendering code - fixed in FormattedText.Draw
10 years ago
donandren
39db3f0d0f
implemented SetForegroundBrush in skia FormattedTextImpl and refactored
10 years ago
donandren
71f52aa915
fixed left,right text align hittesting skia FormattedTextImpl
10 years ago
donandren
8110d1bc64
fixed HitTestTextRange in skia FormattedTextImpl
10 years ago
donandren
b59a1107eb
Skia DrawingContextImpl HitTestPoint and HitTestTextPosition passing tests
10 years ago
donandren
6c423ae4c8
properly handle HitTestPoint in skia FormattedTextImpl
10 years ago
donandren
fc266209a4
WIP: more precise Line Height in Skia FormattedTextImpl
10 years ago
donandren
c84b5d863d
skia new line and line break rendering improvements
10 years ago
donandren
6161bcb886
center and right alignment support in skia FormattedTextImpl
10 years ago
donandren
9d971a604e
improved text handling of \r\n in skia FormattedTextImpl
10 years ago
donandren
730c248dde
fixed text foreground opacity rendering for gradient brushes in skia
10 years ago
donandren
4aa0d003b0
fixed bitmap render and opacity
10 years ago
donandren
227375d195
TextWrapping and new lines text rendering support in skia
10 years ago