Benedikt Stebner
0d889da820
Remove redundant member
3 years ago
Benedikt Stebner
2f5c5494b4
Add failing test
3 years ago
Steven Kirk
fd46119d74
Add failing test for Viewbox DataContext binding.
3 years ago
Benedikt Stebner
93b77b1b6a
Move inlines support to TextBlock and rename RichTextBlock to SelectableTextBlock
3 years ago
Giuseppe Lippolis
a763255f3f
fix: revert test changes
3 years ago
Giuseppe Lippolis
36cfc43a59
feat: Address CA1820 Rule
4 years ago
Emmanuel Hansen
89f031574b
Add tests
4 years ago
Benedikt Stebner
75b3abbdd8
Properly arrange Embedded controls during ArrangeOverride
4 years ago
rabbitism
79cc37e372
feat: add :dropdownopen and :pressed pseudoclass for combobox.
simplify fluent theme combobox default template.
update unit test.
4 years ago
Steven Kirk
ac27138120
Add failing tests for #8866 .
4 years ago
Steven Kirk
cc4b8e3ea0
Fix typo.
4 years ago
robloo
13b67defef
Update DatePicker and TimePicker unit tests
4 years ago
Stanislav Silin
93019b8da0
Fix stretched relative panel test.
4 years ago
Stanislav Silin
5033e8a6f1
Add test for stretched relative panel.
4 years ago
Max Katz
18128a59de
Fix window Loaded and Unloaded events
4 years ago
rabbitism
928f03a404
fix to remove GridLength.ToString() culture dependency.
4 years ago
Andrey Kunchev
d4840a55bc
add failing test for #8669
4 years ago
Takoooooo
a30d73eb5e
Fix tests.
4 years ago
Takoooooo
fe79cee672
Fix Tests.
4 years ago
Benedikt Stebner
81b0dce302
Fix RichTextBlock Inlines update handling
4 years ago
Luis von der Eltz
25b19931e8
Add timeout to "hang" UT
4 years ago
Luis von der Eltz
e64a4430a0
Apply async hack to make timeout work
4 years ago
Luis von der Eltz
107fc7162e
Fix infinite loop when all items are disabled
4 years ago
Luis von der Eltz
d9ce64e1b0
Skip disabled controls when moving to first/last item
4 years ago
Steven Kirk
76274f80b3
Added SafeEnumerableList and use in Classes.
Adds a simple copy-on-write list and uses it to store the listeners to `Classes` to prevent problems with re-entrancy.
Fixes #8480
4 years ago
Steven Kirk
9e4a597225
Added failing tests for #8480 .
4 years ago
Dan Walmsley
0aacec3fae
fix mockwindowplatform and test.
4 years ago
Dan Walmsley
9be71040c8
failing unit test.
4 years ago
Steven Kirk
f57c0ffbec
Added ItemContainerTheme property.
Otherwise there's no easy way to apply themes to item containers.
4 years ago
Steven Kirk
8f0b3911a5
Added failing tests for MenuItem.TemplatedParent.
Seems #8412 caused `Menu.TemplatedParent` to get set to the parent `MenuItem` when re-opening a popup.
4 years ago
Dan Walmsley
b9aa49bc05
Add failing unit test.
4 years ago
Dan Walmsley
0553c7ceab
add a failing unit test
4 years ago
Steven Kirk
05c1f58308
Added ItemContainerTheme property.
Otherwise there's no easy way to apply themes to item containers.
4 years ago
Benedikt Stebner
f4a3843731
Fix unit test
4 years ago
robloo
0863a05c76
Rename PointerLeave to PointerExited
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
robloo
017788cd8e
Add Loaded/Unloaded Events ( #8277 )
* Add Loaded/Unloaded events
* Don't allow OnLoaded() twice unless OnUnloaded() is called
* Call OnLoadedCore within Render()
* Call OnLoadedCore() from OnAttachedToVisualTreeCore by scheduling it on the dispatcher
* Improve comments
* Queue loaded events
* Make the loaded queue static
* Make more members static per review
* Make sure control wasn't already scheduling for Loaded event
* Add locks around HashSet usage for when enumerating
* Remove from loaded queue in OnUnloadedCore() as failsafe
* Make Window raise its own Loaded/Unloaded events
* Attempt to fix leak tests to work with Loaded events
* Make WindowBase raise its own Loaded/Unloaded events
* Move hotkey leak tests to the LeakTest project
* Address some code review comments
* Attempt at actually queueing Loaded events again
* Fix typo
* Minor improvements
* Update controls benchmark
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
4 years ago
Benedikt Stebner
a408ea10d7
Some Progress
4 years ago
Ahmed Fawzy
7698505770
Removed tests which collided with removing the _ignoreTextChanges field
4 years ago
Max Katz
210727175a
Add simple IsDefault/IsCancel tests
4 years ago
Steven Kirk
5cd9532012
Move tests to correct place.
4 years ago
Steven Kirk
8c61f25188
Promote theme to LocalValue if applied from style.
4 years ago
Steven Kirk
088d8cfc5c
Initial implementation of control themes.
4 years ago
Dan Walmsley
97cb3a68f0
Add unit test.
4 years ago
daniel mayost
b6e66047f2
add fixes
4 years ago
Max Katz
bc6d5ec87d
Add tests
4 years ago
daniel mayost
5bf28b671d
some fixes
4 years ago
daniel mayost
c77c500bcd
fixes tests
4 years ago
daniel mayost
402790ba86
improve UpdateFlowDirection
4 years ago
Steven Kirk
33f6974df1
Added failing test for Viewbox layout.
4 years ago