Dariusz Komosinski
2b50335727
Increase coverage of transform parsing and fix found issues.
6 years ago
Dariusz Komosinski
4b0e88f0ec
Implement remainder of matrix interpolation fallback test.
6 years ago
Dariusz Komosinski
179fdd21b3
Use epsilon when checking for singular matrices. Add benchmark for decomposing a Matrix. Add more tests for Matrix struct.
6 years ago
Dariusz Komosinski
8c5b22c8cc
Initial CSS like transform support.
6 years ago
amwx
0863b29d09
Rename existing DatePicker control
6 years ago
Rustam Sayfutdinov
5a65aa09f8
Add some tests for double case MathUtilities
6 years ago
Rustam Sayfutdinov
725081e187
Fix to not ~0 in test
6 years ago
Rustam Sayfutdinov
3307fd577b
Replace check AreClose(x, 1) by IsOne in RoundLayoutValue
6 years ago
Rustam Sayfutdinov
c4668f5ef3
Add tests for float math utils
6 years ago
Rustam Sayfutdinov
1ce6df7186
Remove duplicate code for MathUtilities
6 years ago
Rustam Sayfutdinov
c73e777ed2
Return hack with double.Epsilon
6 years ago
Rustam Sayfutdinov
006186b981
Fix machine epsilon for double
6 years ago
Steven Kirk
fc711e7c86
Measure PopupRoot to MaxAutoSizeHint.
On win32 popup's don't receive `WM_GETMINMAXINFO` so instead query the monitor info for the max work area,
6 years ago
Steven Kirk
5e16897137
Unwrap BindingNotification in MultiBinding.
And add some unit tests.
6 years ago
Nikita Tsukanov
165da1c678
Naming
6 years ago
Max Katz
53cb9d266d
Add ToolTip :open pseudo class tests
6 years ago
Dariusz Komosinski
3b7d8574e8
Try matching for INPC before matching methods.
6 years ago
Dariusz Komosinski
0f23da0a79
Use correct file name.
6 years ago
Dariusz Komosinski
999d5945c1
Optimize method accessor plugin
6 years ago
Steven Kirk
6239e4f5e3
Added failing test for #4059 .
6 years ago
José Pedro
50985a62d2
Changed test cases as requested.
6 years ago
José Pedro
48177eddb7
Added MaxLines property to TextBlock.
6 years ago
Jumar Macato
a7536aee67
add unit test
6 years ago
Jumar Macato
cf7a9122b4
Fix merge conflicts
6 years ago
Dan Walmsley
817476ef77
implement a pressed mixin.
6 years ago
Nikita Tsukanov
996e602bf8
Implemented custom format support for clipboard
6 years ago
Dariusz Komosinski
229c8b7f12
Benchmark and simple optimization for INPC accessor.
6 years ago
Dan Walmsley
c961df9ee1
fix unit for listbox test.
6 years ago
Steven Kirk
f46c62801e
Convert Color resources to brushes.
Make `StaticResource` and `DynamicResource` automatically convert `Color`s to `ImmutableSolidColorBrush`es and add a `ColorToBrushConverter` for use by bindings.
To do this I made `GetResourceObservable` accept an optional conversion function.
6 years ago
Dan Walmsley
ed375b5780
Allow tests to pass as we expect a KeyNotFound exceptions.
6 years ago
Dan Walmsley
455c899876
Add failing unit tests.
6 years ago
Steven Kirk
9df84abbf3
Bring selected TreeViewItem into view after layout finishes.
6 years ago
Steven Kirk
2255518851
Apply auto-select at end of batch update.
6 years ago
Steven Kirk
9dc9f9deba
Ensure selection is reported correctly during batch update.
6 years ago
Steven Kirk
cd37520b71
Trim invalid selection when Source first assigned.
`SelectionModel` can have a selection set before its `Source` is initialized. In this case, be sure to trim invalid selections from the model before continuing.
Fixes #3919
6 years ago
Dariusz Komosinski
9c4bcbdea9
Add more coverage for TryParse
6 years ago
Dariusz Komosinski
9391ddbab5
Add failing tests for shorthand color parsing.
6 years ago
Dan Walmsley
4bc1801c2a
fix popup tests.
6 years ago
Steven Kirk
ba9e3e7641
Updated expected render test output.
6 years ago
Steven Kirk
dcdaf5e0bf
Don't raise ResourceChanged on reparenting...
...when the new parent isn't attached to the tree. This prevents us sending a load of useless `ResourcesChanged` events.
6 years ago
Steven Kirk
1e74316f63
Add unit test for `UseLayoutRounding`.
6 years ago
Steven Kirk
bd0b894271
Fix UseLayoutRounding calculations.
Ported `RoundLayoutSize` and `RoundLayoutValue` from WPF and use these to calculated layout rounding.
Fixes #3467 .
6 years ago
Benedikt Schroeder
5824d77d0f
Fix VisualBrush tests
6 years ago
Steven Kirk
7022c137e7
Propagate ResourcesChanged to template children.
Makes `Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` pass again.
6 years ago
Steven Kirk
0f5c97109b
Fix outdated naming.
6 years ago
Steven Kirk
21bddb1ced
Added test that fails after resource refactor.
`Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` now fails because resource changed messages no longer traverse into templated children.
6 years ago
Dan Walmsley
cbda0e9d95
fix nits.
6 years ago
Steven Kirk
d138523b8e
Set owner on Styles children.
And added some unit tests.
6 years ago
Dariusz Komosinski
93320e4759
Only subscribe to Path.Data when Path is attached to the visual tree.
6 years ago
Dariusz Komosinski
b3c0035b0b
Add failing leak test for Path control.
6 years ago