Skip to content

Further improvements to auto complete box#500

Open
geskill wants to merge 2 commits intoAvaloniaCommunity:masterfrom
geskill:autocompletebox
Open

Further improvements to auto complete box#500
geskill wants to merge 2 commits intoAvaloniaCommunity:masterfrom
geskill:autocompletebox

Conversation

@geskill
Copy link
Copy Markdown
Contributor

@geskill geskill commented Mar 30, 2026

We added basic styling support in a previous pr #494
This pr goes further, taking advantage of the fact that under the hood the AutoCompleteBox is a TemplatedControl using a TextBox and for the TextBox we already have great material styling support.

What this pr provides

  • Reuse TextBox styling templates
image
  • Add support for InnerLeftContent and InnerRightContent
  • Add support for Label and UseFloatingWatermark (via assists)

Limitations

  • Popups are still not properly styled with CornerRadius
  • Outline with Label and UseFloatingWatermark does not work properly
image

geskill added 2 commits March 29, 2026 19:00
- Add AutoCompleteBox support for InnerLeftContent and InnerRightContent.
- Add AutoCompleteBox support for Label and UseFloatingWatermark.
@SKProCH
Copy link
Copy Markdown
Collaborator

SKProCH commented Mar 30, 2026

Will you further improve this control?

Probably this is can be done in single PR, instead of splitting to many small ones

@geskill
Copy link
Copy Markdown
Contributor Author

geskill commented Mar 30, 2026

i'd love to, but I don't have much time, and XAML isn't my area of expertise.
Tried my best today with popup and the outline 😅

kudos to you, really great work!

@SKProCH SKProCH self-assigned this Mar 30, 2026
@SKProCH SKProCH self-requested a review March 30, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants