Steven Kirk
027bd2313a
AutoCompleteBox.Items -> ItemsSource.
3 years ago
robloo
10d41eaeee
Switch AutoCompleteBox to using StyledProperty where possible
3 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
3 years ago
Julien Lebosquain
e1138f2cb6
Nullability fixes for Avalonia.Controls
3 years ago
Benedikt Stebner
6210018f3b
Propertly handle an InlineUIContainer's logical children
3 years ago
Simon Cropp
0520d25ed5
missing OnItemTemplatePropertyChanged call in AutoCompleteBox
3 years ago
Max Katz
59d7874b1d
Replace System.Reactive with internal extensions
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
3 years ago
robloo
d86cb35d3b
Separate out public AutoCompleteBox properties
4 years ago
robloo
a28bf0f5af
Split apart AutoCompleteBox into multiple files
4 years ago
robloo
bbb49ab159
Move AutoCompleteBox into its own directory
4 years ago
robloo
b6698825fc
Modernize some code formatting in AutoCompleteBox
4 years ago
robloo
056bbdd9bd
Switch AutoCompleteBox to use the same TextChanged event as TextBox
4 years ago
Arhell
14029cb934
update src folder links
4 years ago
Giuseppe Lippolis
a097605ef5
fix(AutoCompleteBox): PopulateDropDown handler is not unregister when MinimumPopulateDelay is set to Zero.
4 years ago
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