Steven Kirk
f9dbbb3da1
Make UpdateDataValidation non-generic.
4 years ago
robloo
d4540ed0e5
Add template part attributes to common controls
4 years ago
Yoh Deadfall
55710e8514
Used ToArray where it benefits over ToList
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Jumar Macato
b6650a8e4b
Update src/Avalonia.Controls/AutoCompleteBox.cs
5 years ago
Takoooooo
3c33ee41b1
fix
5 years ago
Takoooooo
60b3e028b5
fix
5 years ago
Wiesław Šoltés
08dea6498e
Check for TextBox.Text null in AutoCompleteBox
5 years ago
Max Katz
202c67caa8
Fix autocompletebox pseduclasses
5 years ago
aguahombre
f22730aca8
AutoCompleteBox validation not working for SelectedItem #5586
5 years ago
Loris Bognanni
0cb25c78c9
Only handle the Enter key when the DropDown is open
Fixes #5106
5 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
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
c45436dff1
Added Popup.OverlayDismissEventPassThrough.
To control whether dismiss events are passed through from the overlay layer to the underlying window content.
6 years ago
usUyGBx
ff5f4804e2
Fix AutoCompleteBox validation
6 years ago
sdoroff
2be01a6f01
Ignore initial value of AutoComplete TextBox
6 years ago
Steven Kirk
2fcde9e34d
Use OnApplyTemplate instead of OnTemplateApplied.
- More similar to WPF API
- Less bug-prone (see #3744 )
`OnTemplateApplied` still exists, but is deprecated and does nothing.
6 years ago
Steven Kirk
a98b22c40c
Pass close event to Popup.Closed.
So that the event can be marked as handled if necessary. Mark the event as handled in `AutoCompleteBox`, `ComboBox` and `DatePicker`, but _not_ `ContextMenu`. Fixes #3760 .
6 years ago
Steven Kirk
2722f509fa
Swap order of parameters to event args.
As described in #3437 the argument ordering was different to WPF/UWP causing bugs in some code ported from WPF/UWP. Use the same argument ordering as WPF/UWP.
Fixes #3437
6 years ago
Steven Kirk
640a5c5d8b
Swap order of parameters to event args.
As described in #3437 the argument ordering was different to WPF/UWP causing bugs in some code ported from WPF/UWP. Use the same argument ordering as WPF/UWP.
Fixes #3437
6 years ago
Steven Kirk
aa81db75a0
Added WPF-style validation for AvaloniaProperty.
6 years ago
Steven Kirk
6be3acb46c
Make ValueStore typed.
Major refactor of the Avalonia core to make the styled property store typed.
6 years ago
Nikita Tsukanov
e27c7c0fff
Fixed parameter order in OnSelectionChanged in AutoCompleteBox
Apparently Silverlight has different constructor argument order
7 years ago
Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Jumar Macato
102da2cc79
Remove worthless QualityBand xml comment parameters.
7 years ago
José Pedro
fa8d8c896d
Removed redundant bool comparisons.
7 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Jeremy Koritzinsky
1f0e173e95
Fix the inspection errors. Also clean up some Calendar code in the meantime since most of the warnings were there.
8 years ago
sdoroff
2a7d2cedc3
Fixes #1554
The issue was caused by the lack of a proper TextChanged event on the TextBox
I implemented a work around
8 years ago
sdoroff
e52f966877
Made use of existing CancelEventArgs
Uses System.ComponentModel.CancelEventArgs
instead of custom CancelableEventArgs class
8 years ago
sdoroff
2eafd111ec
Moved CancelableEventArgs to Avalonia.Interactivity
8 years ago
sdoroff
242b9251df
Added async population feature
8 years ago
sdoroff
3e73046098
Ported the AutoCompleteBox control from Silverlight
8 years ago
sdoroff
7a1305f2d8
Moved CancelableEventArgs to Avalonia.Interactivity
8 years ago
sdoroff
427a634b21
Added async population feature
8 years ago
sdoroff
ee8ae91f72
Ported the AutoCompleteBox control from Silverlight
8 years ago