oliver.holliday@lontra.co.uk
38a6ea99ac
Add new tests for RadialGradient with GradientOffset handling. Fix implementation of Skia renderer to match Direct2d version.
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
Max Katz
95f07a9f96
Only specific buttons should have pressing animation
6 years ago
Max Katz
ab35482724
Make Fluent buttons animation consistent
6 years ago
danwalmsley
14aff78be5
use sealed for attribute class.
Co-authored-by: Dariusz Komosiński <darek.komosinski@gmail.com>
6 years ago
Kir-Antipov
bc87efc65f
Added ItemSelector property to the AutoCompleteBox
6 years ago
Kir-Antipov
7481aea606
Removed AutoCompleteMode enum
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
08a8badd7a
Don't try to realize index -1.
`Algorithm_GetAnchorForTargetElement` can return -1 and when it does so we try to realize that item, which obviously doesn't exist, so boom.
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
89684e5b94
Short-circuit setting source to current value.
6 years ago
Steven Kirk
8350ab1399
Copy ICollection.CopyTo implementation from the BCL.
Did not handle differing types.
6 years ago
Steven Kirk
e574acd85f
Mark TabOnceActiveElement value as nullable.
6 years ago
José Pedro
32fe0e60a7
Use typed property changed args instead of changing handler args type.
6 years ago
Maksym Katsydan
d1fef03486
Make SwitchSortDirection public
6 years ago
Nikita Tsukanov
3608deeeb1
Fixed SleepLoopRenderTimer
6 years ago
Steven Kirk
f79f910c4d
Coerce lower bound for deselecting items.
We can't deselect -1.
6 years ago
Steven Kirk
b5f81e5290
Don't coerce when deselecting a range.
If the deselection happens because of a `Clear` during a source collection changed event handler, then the selected indexes may not be in the valid range of the post-change items. In this case, we still want the items to be cleared, and not coercing the range has no downside.
6 years ago
Maksym Katsydan
92f1c06a96
Update DataGrid tests
6 years ago
Maksym Katsydan
8dd60eefe1
Allow to set custom IComparer in DataGridSortDescription.FromPath
6 years ago
Maksym Katsydan
6992bd72ce
Add Sorting event and use ListSortDirection instead of bool property
6 years ago
José Pedro
82240033dc
Changed property copy constructors to require same property type.
6 years ago
Giuseppe Lippolis
ffcc0c1156
Allow ScrollViewer to scroll the content up, down, left and right by one page.
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
Dan Walmsley
0fefe3b5af
dont use egl 3.2 and 3.1 as they are still wip.
6 years ago
Kir-Antipov
9a1dd58273
Well, default AutoCompleteMode.Append isn't doing well, tbh
6 years ago
Kir-Antipov
5bf12ac0f0
Added TextSelector and AutoCompleteMode properties to the AutoCompleteBox
Now it's possible to change the logic for modifying the text of the control after choosing the autocomplete option
6 years ago
Steven Kirk
9e0c92c630
Raise SelectedItems property changed events.
6 years ago
Dariusz Komosiński
5015c431a8
Fix nullable annotations.
6 years ago
Steven Kirk
290f28675c
Preserve selection when source changes.
Fixes #4048 .
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
Dan Walmsley
a6d83cd32a
support any gles version with angle using angle options.
6 years ago
Dan Walmsley
c01c7c9378
opengl es 3.1, 3.0 and 2.0
6 years ago
Steven Kirk
aeaaccb7e0
Raise item(s) property changed on Source changing.
6 years ago
Rustam Sayfutdinov
e1045a09c9
Improve for the backend web preview
6 years ago
Maksym Katsydan
f8e75bf424
Remove obsolete comments
6 years ago
Maksym Katsydan
4f161701bd
Do not override BindingMode in the DataGridBoundColumn
6 years ago
Steven Kirk
82273680f7
Update selected content when containers recycled.
Hopefully fixes #4654 once and for all.
6 years ago
Artyom V. Gorchakov
a38bdcf146
Correct ReactiveUI.Events Package Id
6 years ago
Steven Kirk
90dc7ea952
Fix failing test but actual issue not fixed.
Fixed the failing test for #4654 but actual issue still remains. Needs more test.
6 years ago
Steven Kirk
5ac25a26f4
Tweak raising SelectedIndex/Item property changed.
6 years ago
Maksym Katsydan
ca5ec1fba4
Add left padding for radiobutton and checkbox
6 years ago
José Pedro
7782261ec3
Added typed AvaloniaProperty<T>.Changed.
6 years ago
amwx
acab110208
PopupRoot IFocusScope
6 years ago
Dan Walmsley
c48c82f171
formatting.
6 years ago
Dan Walmsley
ecfd4bf561
remove padding from checkbox and radiobutton.
6 years ago
danwalmsley
70d062ba39
make code more readable.
6 years ago