Luis von der Eltz
c4ef08206e
Implementing support for IsTabStop attached property
6 years ago
Dariusz Komosinski
178a1aeb19
Add failing unit test.
6 years ago
Rustam Sayfutdinov
8414ace5cf
Remove duplicate code for RoundLayoutValue
6 years ago
Steven Kirk
55868ce690
Remove serilog.
6 years ago
Steven Kirk
479d480ad9
Parameterize logger on area as well as level.
So we can filter our more logging calls early.
6 years ago
Steven Kirk
bc891efc13
Don't raise ScrollChanged if nothing changed.
And remove empty braces in test.
6 years ago
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
Steven Kirk
363b2a0489
Fix failing tests.
`ScrollContentPresenter` now coerces offset so it can only be set after a viewport has been calculated.
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
Steven Kirk
c3a5c48d6f
Raise ScrollChanged when layout updated.
To be consistent with WPF/UWP `ScrollChanged` should be raised when layout finishes updating, rather than when the individual properties are changed.
6 years ago
Steven Kirk
d46265233d
Raise LayoutUpdated at the end of layout pass.
This attempts to match the behavior of `LayoutUpdated` in WPF and UWP.
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