Skip to content

Add placeholder support to comboboxes #1476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Difegue
Copy link
Contributor

@Difegue Difegue commented Jul 7, 2025

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

No Placeholder functionality
Issue Number: #787

What is the new behavior?

  • Clients can now use ui:ComboBoxHelper.Placeholder to add Placeholder text when a ComboBox has no selected items.
  • Added a matching example to the Gallery.

Other information

@Difegue Difegue requested a review from pomianowski as a code owner July 7, 2025 13:09
@github-actions github-actions bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles PR Pull request gallery WPF UI Gallery dotnet release labels Jul 7, 2025
value = false;
}

if (parameter is "invert")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invert > negate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controls Changes to the appearance or logic of custom controls. dotnet gallery WPF UI Gallery PR Pull request release styles Topic is related to styles
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants