Steven Kirk
f22994a083
Added failing test for #1065 .
Also add setter for `ScrollContentPresenter.CanScrollHorizontally`.
8 years ago
Jeremy Koritzinsky
eb7c010462
Retarget .Net Framework projects to 4.7
Works around dotnet/standard#567 .
8 years ago
Jeremy Koritzinsky
ba481365f6
Enable turning off the setup check for appbuilder tests.
9 years ago
Jeremy Koritzinsky
b0d013ad25
Fix tests.
9 years ago
Jeremy Koritzinsky
6d075ad27b
Fix #424 .
9 years ago
Jeremy Koritzinsky
8bcd07730a
Change StylingParent for Popup to be PopupRoot so local styles flow to it.
9 years ago
Jeremy Koritzinsky
bdaf4a2046
Fix #1182 .
9 years ago
Steven Kirk
78cbaee3a0
FIx collection comparisons.
9 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
9 years ago
Jeremy Koritzinsky
05eda280de
Refactor DeferredSetter logic to allow passing references to backing fields and utilizing that in all usages. Refactor SetAndRaise logic to be combined and simplified between the two use cases. Now the common case delegates to the less specialized case.
9 years ago
Jeremy Koritzinsky
ca9a4c4128
PR Feedback.
9 years ago
Steven Kirk
fc7a83ee72
Fixed panel collection change actions.
As suggested in #1286
9 years ago
Steven Kirk
26b2771864
Added failing test for #1297
9 years ago
Steven Kirk
546cbca0ef
Added failing test for #1247 .
9 years ago
Steven Kirk
2e8521e690
Added failing test for #1271 .
9 years ago
Steven Kirk
5cc5b91930
Fix xunit warnings.
9 years ago
Steven Kirk
ebc66cfaac
Added failing test for #1255 .
9 years ago
José Pedro
755531631e
Implemented three states on ToggleButton, CheckBox and RadioButton.
9 years ago
Steven Kirk
2bd26bd9b8
Added failing test for #1245 .
9 years ago
Jeremy Koritzinsky
4469bafe28
Fix incorrect assert in RangeBaseTests.
9 years ago
sdoroff
bd17aeffe2
Adds Unit Tests for the Calendar Control
9 years ago
Jeremy Koritzinsky
440f2cafc5
Fix SelectedItemsControl and RangeBase Stackoverflow bugs.
9 years ago
Steven Kirk
181dd53e58
Notify DataContextChanged down tree.
When a data context changes, it should be notified to all descendant controls who inherit the data context. This allows the `SelectingItemsControl` to defer setting the selected item until the `DataContext` has changed for the whole tree.
Renamed `OnDataContextChanging`/`OnDataContextChanged` to `OnDataContextBeginUpdate`/`OnDataContextEndUpdate` because `DataContextChanged` is now called from the property changed notification.
Fixes #507 .
9 years ago
Steven Kirk
d6b6a0fa96
Refactored InstancedBinding creation.
Previously it wasn't clear which constructor on `InstancedBinding` must be called for a particular binding mode. Refactored the constructors:
- We now have a single public ctor which takes an `ISubject`, as a subject can be used for all binding modes.
- Instanced bindings with other sources such as single values and `IObservables` are now constructed via static methods which only allow the correct sources for that binding mode
9 years ago
Steven Kirk
268587c432
Fix DropDown popup opening.
When the `DropDown` control is clicked, toggle the opening of the popup.
Fixes #1169 .
9 years ago
Steven Kirk
815d3f719e
Report correct root in logical tree attach/detach.
Fixes #1192 .
9 years ago
José Pedro
cc7098583e
Fixed Assert.Null warnings.
9 years ago
Dan Walmsley
18e556a1b1
correct stack panel unit tests.
9 years ago
José Pedro
2cc4b41acc
Use Screen API.
9 years ago
Nikita Tsukanov
3d3d4528f6
Burn, baby, BURN!
9 years ago
Eli Arbel
aa45cccec4
Fix slider
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Eli Arbel
aee42bad6c
Add scroll bar & slider buttons
9 years ago
Steven Kirk
e54f48b63c
React to application resources changing.
9 years ago
Steven Kirk
0e155bd2d4
Make dynamic resources work in more situations.
Fixes #492 in a fashion: `DynamicResource` now works for this scenario.
9 years ago
Steven Kirk
2a61bbcb64
Detect resources added in new styles.
9 years ago
Steven Kirk
4a9302b61e
More work on static resources.
Also found a scenario that Portable.Xaml can't seem to handle...
9 years ago
Steven Kirk
bf2d403f14
Fix faulty resource lookup.
9 years ago
Steven Kirk
22bda08a90
Lazily initialize DataTemplates.
Added an `IDataTemplateHost` interface with a `IsDataTemplatesInitialized` property to prevent the need for allocating empty `DataTemplates` collections for many controls.
9 years ago
Steven Kirk
090a1ec8cf
Lazily initialize Styles.
Added an `IStyleHost.IsStylesInitialized` property to prevent the need for allocating empty `Styles` collections for many controls.
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Steven Kirk
474aa60403
Don't remove pseudoclasses when clearing Classes.
Fixes #1080
9 years ago
Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
José Pedro
1eee17345b
Implemented Window.WindowStartupLocation and WindowBase.Owner.
9 years ago
Steven Kirk
c4aa2197b2
Fixed TreeView navigation.
Fixes #277 .
9 years ago
Steven Kirk
bb11b302b8
Added failing unit test for #277 .
9 years ago
Steven Kirk
a232b137b5
Allow reuse of existing tooltip popup.
To do this, had to fix a problem where templated children weren't notified of being re-attached to a logical tree.
9 years ago
Steven Kirk
0d492ca16a
Update ContentPresenter when ContentTemplate changed.
9 years ago
Steven Kirk
1150af791c
Reworked how ContentPresenter child is updated.
Update immediately when attached to a logical tree. Also separate tests for different scenarios.
9 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
9 years ago