Steven Kirk
79843ae311
Make DataTemplate-created controls namescopes.
10 years ago
Steven Kirk
21f4570559
Allow binding to anchor's DataContext.
Fixes #461 .
10 years ago
Steven Kirk
5d53ec9822
Fix binding to Window.
10 years ago
Steven Kirk
b227e8623f
Removed bogus test.
It wasn't testing the actual leak and relied on messy reflection so
removing it.
10 years ago
Steven Kirk
080638e079
Ensure DataTemplate contents can be named.
10 years ago
Steven Kirk
768c5c0f5e
Added new failing leak test.
10 years ago
Steven Kirk
667c17af4b
Removed leak tests and added failing test.
These were from a time when templates were applied when
attached/detached from visual tree. Template controls are now retained
until another template is applied.
10 years ago
Jeremy Koritzinsky
eea178500a
Added test and fixed implementation.
10 years ago
Steven Kirk
ab2d7571e1
Include default theme and base color in App.paml.
10 years ago
Steven Kirk
13599a6ebc
Set Track's logical child.
To its Thumb. This fixes a problem with styling ScrollBar.
10 years ago
Steven Kirk
6e337ec877
Fix loading of UserControls.
Also added a UserControl test, though it turns out it was unrelated to
the problem at hand.
10 years ago
Steven Kirk
8209a85193
Make IBinding return an InstancedBinding.
Instead of an ISubject<object> as this was wasteful when a OneTime or
OneWay binding was required.
10 years ago
Steven Kirk
a9f5fac632
Added failing test.
10 years ago
Steven Kirk
b4fbc1d50e
Make failing test pass.
10 years ago
Steven Kirk
80ecc8002b
Implemented delayed bindings.
10 years ago
Jeremy Koritzinsky
7baf8ba615
Changed argument parser to parse everything as strings and refactored the IndexerNode.GetValue to special case places where we can check validity (and multidimensional arrays since they don't work like everything else). Removed LiteralParser since it isn't used by anything any more.
10 years ago
Steven Kirk
bacab96ec1
Added test to demonstrate problem.
10 years ago
Steven Kirk
8ca890d168
Started implementing XAML lifecycle listener.
We need to delay bindings until everything is set up before everything
works though.
10 years ago
Steven Kirk
f7cd106937
Updated OmniXAML and added checks for initialization order.
OmniXAML issue #84 is now fixed. Added tests to confirm this and to check that setting the Name property now fails because of this fix.
The fix for Name will come next.
10 years ago
Jeremy Koritzinsky
8c6c1ffaea
Added unit tests for parsing floating point indexers and changed LiteralParser to support it.
10 years ago
Jeremy Koritzinsky
5ed27d36d3
Added code for listening for indexer updates via INotifyPropertyChanged.
10 years ago
Jeremy Koritzinsky
74cea95956
Can now bind to a non-IList/Array indexer (with any parameter type convertible via TypeUtilities).
10 years ago
Steven Kirk
fd1196f190
Forgot to save .csproj. Again.
10 years ago
Steven Kirk
0df95a81ae
Added new style resource test.
To get style resources working, OmniXaml #84 really needs to be set, so
style resource tests failing for the moment.
10 years ago
Steven Kirk
b3fe8121d1
Implement binding elements to non-controls.
10 years ago
Steven Kirk
102af14c4c
Tidied up XAML tests.
Moved actual XAML loading tests into Xaml directory, removed unused
classes.
10 years ago
Steven Kirk
2234c6dba4
Updated OmniXAML.
10 years ago
Steven Kirk
624a7cf962
Trying to fix intermittent test failure.
10 years ago
Steven Kirk
f62f32c83c
Allow {StyleResource} in setter.
10 years ago
Steven Kirk
d1cbc3fa22
Added failing test.
10 years ago
Steven Kirk
be8e650184
Fix non-compiling tests.
10 years ago
Steven Kirk
338b71b204
Moved IVisual to Perspex.VisualTree.
10 years ago
Steven Kirk
a72c3e46bf
Moved ILogical to Perspex.LogicalTree.
10 years ago
Steven Kirk
19af37a6af
Started adding StyleResource markup extension.
OmniXAML issue #84 is now blocking us.
10 years ago
Steven Kirk
d0efd0c6d4
Clear TemplatedParent of ex-template children.
This prevents them still being bound to their ex-TemplatedParent. Fixes
#435 .
10 years ago
Steven Kirk
03c7cb5456
Handle inserts into ItemsControl items.
Fixes #431 .
10 years ago
Steven Kirk
8b9693d996
Don't throw in LogicalNotNode.SetValue.
Instead return false to indicate the write failed.
10 years ago
Steven Kirk
127133eb89
Added enum conversions to DefaultValueConverter.
10 years ago
Steven Kirk
8233f4df18
Support default binding mode on direct properties.
10 years ago
Steven Kirk
6b06d0ee4c
Started adding Style resources.
Added Style.Resources and confirmed that Color can be added to the
resources. However, SolidColorBrush doesn't work - needs a fix from
OmniXAML.
10 years ago
Steven Kirk
2577855b09
Correctly resolve attached properties.
Design.Width/Height was getting written to Width/Height. Should fix
#428 .
10 years ago
danwalmsley
8c7412232c
Seperated testing of null and empty string triggering PropertyChangedEvent.
10 years ago
danwalmsley
ec9da47d6a
supporting null or string.empty to trigger property notifications.
10 years ago
Steven Kirk
8eb4f30c6d
Added Tapped and DoubleTapped gestures.
10 years ago
Steven Kirk
3e3134217c
Fixed name of PointerPressedEventArgs.
10 years ago
Steven Kirk
a03dad9bab
Removed a bunch of unused members/classes.
10 years ago
Steven Kirk
a2b9309bf2
Reinstalled Moq.
Something was wrong with it.
10 years ago
Steven Kirk
2df9a0d9f4
Forgot to save .csprojs.
10 years ago
Steven Kirk
eec9a1f44a
Added shared TestRoot class.
And use it in every unit test project except SceneGraph as that one is
different.
10 years ago
Steven Kirk
9a0df79ec5
Use UnitTestApplication in some more places.
Also removed service registration from some tests that now don't require
it.
10 years ago