aljosas
ede1e2db94
fixing PR for data validation for Combobox control and all SelectingItemsControl
6 years ago
aljosas
899ba64913
fixing data validation for Combobox control and all SelectingItems control #5652
6 years ago
Yoh Deadfall
0a7ca87e3b
HasFlagCustom made safe and supports all enums
6 years ago
Max Katz
9933de07fd
Override default value instead of setting local value in LightDismissOverlayLayer
6 years ago
Nikita Tsukanov
db444da8c0
Enable light dismiss overlay for popups
6 years ago
Luis von der Eltz
f46a3b6138
Set default visibility of scrollbar to "Visible"
6 years ago
Dariusz Komosinski
a778800d2e
Remove boxing from TemplatedControl as well.
6 years ago
Dan Walmsley
62ca81e9fb
add datavalidation errors to combobox.
6 years ago
Dariusz Komosiński
fadb71ed85
Revert "Enable light dismiss overlay for popups"
6 years ago
Nikita Tsukanov
1497882cf6
Enable light dismiss overlay for popups
6 years ago
Giuseppe Lippolis
a6c705bf70
Update XML Comment
6 years ago
Yoh Deadfall
02e6a4ffa5
Fixed nullability issues
6 years ago
Yoh Deadfall
dad0c4d18a
Fixed invalid cast issue if source isn't visual
6 years ago
Yoh Deadfall
3b48238fe0
Removed dead code
6 years ago
Yoh Deadfall
cdb4e90518
Simplified conditions
6 years ago
Will Kennedy
d57ad558d2
Fix IsChecked property differing from :checked pseudoclass
6 years ago
Yoh Deadfall
feed5103ab
Removed redundant method
6 years ago
amwx
7f7db22004
Only move focus if Popup had it
6 years ago
amwx
273f296b47
Small fix
6 years ago
amwx
c941a3d1b9
Return focus to PlacementTarget on close
6 years ago
amwx
6c52a7cb64
Move IFocusScope to IPopupHost
6 years ago
Steven Kirk
1430bf86e3
Use screen bounds Bottom instead of Height.
Secondard screens on Windows can have a Y offset (i.e. `bounds.Y != 0`) if they're offset vertically from the primary screen, and when this was the case the popup wasn't getting properly constrained as the bottom is not equal to the height.
Fixes #4726
6 years ago
Benedikt Schroeder
c2fad766e5
Rework GlyphRun BaselineOrigin
6 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
6 years ago
Steven Kirk
544686b78d
Don't try to SelectAll with single selection.
`Toggle` doesn't mean multiple selection.
6 years ago
Steven Kirk
293564e704
Off-by-one error.
6 years ago
Steven Kirk
aaeda72aec
Removed unused methods.
6 years ago
Steven Kirk
14f314341e
Fix scrolling to selection.
A few `AutoScrollToSelectedItem` improvements:
- Scroll to current selected item when it's set to true
- Scroll to current selected item when list first displayed
- Scroll to current selected item when attached to visual tree if the selection was changed while it wasn't attached
Fixes #4100
6 years ago
Steven Kirk
9e0c92c630
Raise SelectedItems property changed events.
6 years ago
Steven Kirk
b73ba99077
Reafactor SelectingItemsControl selection.
- Remove `SelectedItemsSync` and store `SelectedItems` in a new `InternalSelectionModel`
- Store transient `SelectingItemsControl` state in an `UpdateState` object
Fixes #4272
6 years ago
Steven Kirk
5ac25a26f4
Tweak raising SelectedIndex/Item property changed.
6 years ago
amwx
acab110208
PopupRoot IFocusScope
6 years ago
Steven Kirk
126737fd1b
Update ScrollBar visibility with local value priority.
Using `SetValue` with `Style` priority caused a new entry to be added to the `IsVisible` priority store each time the value was updated, causing a leak. Setting it with local value priority subtly changes its semantics but hopefully not so that anyone notices.
6 years ago
Przemysław Onak
de5dd5096e
Schedule opening popup if cannot be opened right now
6 years ago
Steven Kirk
a078974eba
Implement changing selection mode.
6 years ago
Steven Kirk
9c8376348c
Make remaining tests pass.
6 years ago
Steven Kirk
06390d42ee
Restore selection on reset.
6 years ago
Steven Kirk
923fd361e4
Refactor SelectedItemsSync.
6 years ago
Steven Kirk
10b03b15ec
Make restored tests pass.
6 years ago
Steven Kirk
c677fb4b4d
Don't autoselect with no items.
6 years ago
Steven Kirk
81b7b54386
Auto-select when items added.
6 years ago
Steven Kirk
1120820b7e
Implemented SelectionMode.AlwaysSelected.
6 years ago
Steven Kirk
b2a473d286
More integration of new SelectionModel.
6 years ago
Steven Kirk
a9b04a5c2c
Started integrating new SelectionModel.
6 years ago
Steven Kirk
a9f05f22c2
Added #nullable to SelectingItemsControl.
6 years ago
Steven Kirk
95f9a98843
Fixed/skipped failing tests.
6 years ago
Steven Kirk
af90219ff4
Reverted SelectionModel.
6 years ago
Steven Kirk
5947d9ad6b
Capture mouse when passing through event.
This moves the implicit capture from the overlay layer to the target element.
6 years ago
Dan Walmsley
135f92122e
white space.
6 years ago
Dan Walmsley
b88ec08b54
managed titlebar declared in xaml.
6 years ago