Jumar Macato
c70ffb564b
Restore unit tests part 2
7 years ago
Jumar Macato
d97835ee62
Add SharedSizeScope tests from #1945
Fix IsSharedSizeScope/PrivateSharedSizeScope so that it can be
set on non-`Grid` controls.
7 years ago
Jumar Macato
2310dab605
Inherit SharedSize scopes to child grids.
7 years ago
Jumar Macato
ad45848a29
Implement and make SharedSizeScopes work :)
7 years ago
Jumar Macato
6dba3467b7
Revert `ShowGridLines` default value.
7 years ago
Jumar Macato
5b62d7c859
More reorganizing + refactoring...
7 years ago
Jumar Macato
5b9755329f
Fix GridLineRenderer's DashStyles.
7 years ago
Jumar Macato
34d2258aef
Re-run CI
7 years ago
Jumar Macato
9c6c096ea9
Organize Grid into its own folder and split up its internal classes.
7 years ago
Jumar Macato
7f6414970a
Revert `DrawGridLines` to FinalOffsets
7 years ago
Jumar Macato
52c562bffd
Remove old Grid classes.
7 years ago
Jumar Macato
6d2601b54c
Some refactoring...
7 years ago
Jumar Macato
b6d01fcaeb
Cleanup MinSize.
7 years ago
Jumar Macato
cc3422b4c3
Reset MinSize on DefinitionsLayout validation.
7 years ago
Jumar Macato
998149c9e5
Calculate ActualWidth/Height for Row/ColDefinitions so that GridSplitter can work.
7 years ago
Jumar Macato
69c056c728
Downsize DefinitionBase, removing most of shared size scope code.
7 years ago
Jumar Macato
4c1f476957
Rename private fields, remove practically unused fields.
7 years ago
Jumar Macato
505ed6b0cf
Replace per-property class handlers with `AffectsParentMeasure<>`; Fix `GridLinesRenderer`.
7 years ago
Jumar Macato
689ca63c7a
Fix DPI fallback value on LayoutRounding;
Rename `rowColDefsEmpty` to `IsTrivialGrid`;
7 years ago
Jumar Macato
0e15b3f972
Cleaning up redundant/unreferenced code.
7 years ago
Jumar Macato
fa95d9cd10
Fix rowcol definitions not sync'ing with DefinitionsU/V, hence fixing bugs for the Calendar control.
7 years ago
Jumar Macato
9b1eb2ac8c
Part 10 of n
7 years ago
Nikita Tsukanov
dbc284d96e
Set PackageId for github's dependency graph to work
7 years ago
Jumar Macato
9dc40dc99b
Temporarily hook row and col def change to ExtData.
7 years ago
Jumar Macato
efdcd11952
Part 9 of n
7 years ago
Jumar Macato
58b6399a52
Part 8 of preliminary error-plugging, Grid running
but somewhat broken.
7 years ago
Jumar Macato
645e3131cc
Part 7 of n
7 years ago
Jumar Macato
aea3bbcbd0
Part 6 of n
7 years ago
Jumar Macato
d7b3ebb9f7
Part 5 of n
7 years ago
Jumar Macato
9e052c5acc
Fix misplaced compile command on proj.
7 years ago
Jumar Macato
9f1d70e592
Part 4 of n
Removed more legacy stuff
Added Math Functions needed from WPF's DoubleUtil.
7 years ago
Jumar Macato
d39d132d10
Part 3 of n
7 years ago
Jumar Macato
f9ebfc232d
Uncomment Avalonia's Grid and exclude it from build temporarily.
7 years ago
Jumar Macato
90e6db45aa
part 2 of n
7 years ago
Jumar Macato
7767319ce4
Porting part 1 of n
7 years ago
Jumar Macato
c4fccd5dd7
Import Grid code from WPF.Core
7 years ago
Dan Walmsley
2891856de7
[OSX] HotFix prevent crashing on app launch.
7 years ago
Nikita Tsukanov
dd85f48c43
Update target and declaring types for properties of the root object with x:Class, fixes #2520
7 years ago
Nikita Tsukanov
67ea597d82
Properly pass root object instance to templates, fixes #2147 #2527
7 years ago
Steven Kirk
38bd934c4a
Added Window.OnClosing.
7 years ago
Steven Kirk
0f25e0548f
Use object for resource keys.
`IResourceDictionary` was defined as an `IDictionary<object, object>` but in various places we only accepted a `string` as the resource key. Fix this inconsistency and always use `object` as a resource key.
Fixes #2456
7 years ago
Steven Kirk
4ad4ba4a9e
Set InputModifiers on PointerEnter/Leave.
Note that these will not be set when a pointer enter/leave occurs because of a control moving or appearing/disappearing.
Fixes #2495
7 years ago
Steven Kirk
ed6251fbe8
Use styled properties in Expander.
`ContentTransition` was defined as a direct property, but was also getting set in a style, causing #2508 . Changed it to be a styled property, along with `ExpandDirection`.
Fixes #2508
7 years ago
Jumar Macato
fbd7ee5963
Remove `UseDataGrid` since DataGrid works without that now.
7 years ago
Steven Kirk
ba7cec18e3
Handle move in SelectingItemsControl.
Fixes #2522 .
7 years ago
Steven Kirk
2661e939b1
Reset dirty rects before calling SceneInvalidated.
When cleared after calling `SceneInvalidated`, any control invalidated during `SceneInvalidated` was be lost.
Fixes #2518 .
7 years ago
Jumar Macato
26b8fd6a05
Add transitions unit test.
7 years ago
Jumar Macato
b94f5975eb
Remove extra space.
7 years ago
Jumar Macato
e06a9dffc3
Partially revert Transition interpolation clamp.
7 years ago
Steven Kirk
4a386d1b84
Added skipped failing leak test for transitions.
It's leaking on master too, so address this separately.
7 years ago