Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8149411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:50:45+00:00 2026-06-06T14:50:45+00:00

So I was have a combobox like below, coded like this; AllowsTransparency=True Background=Transparent> <Border

  • 0

So I was have a combobox like below, coded like this;

AllowsTransparency="True" Background="Transparent">
        <Border CornerRadius="10" Background="Beige" BorderBrush="Aqua" BorderThickness="2">
            <Grid>
                <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                    <Label Name="lblText"></Label>
                    <ComboBox Name="cbxNumbers"></ComboBox>
                    <TextBox Name="txtNumbers" Visibility="Collapsed"></TextBox>
                    <Button HorizontalAlignment="Center" Name="btnDone"
Click="btnDone_Click">That's Right!</Button>
                </StackPanel>
                <Button VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="1"
FontSize="8" Name="btnChangeInput" Click="btnChangeInput_Click">Let me chose the number
</Button>
            </Grid>
        </Border>

And then populated in code like this;

lblText.Content = Text;
cbxNumbers.Items.Add(5);
cbxNumbers.Items.Add(10);
cbxNumbers.Items.Add(50);
cbxNumbers.Items.Add(100);
cbxNumbers.Items.Add(1000);
cbxNumbers.Items.Add(10000);
cbxNumbers.Items.Add(100000);
cbxNumbers.Items.Add(1000000);
cbxNumbers.SelectedIndex = 0;

My question is obviously, why is my Dropdown showing beneath my window?

ComboBoxProblem

UPDATE

Quote Microsoft

Thank you for reporting this issue. Though this issue is under
investigation, we will likely not have a fix available in .NET 4.0. We
will update this bug again when we are able to fix the issue in a
future release. Thanks!

Great… any ideas for a work around?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:50:47+00:00Added an answer on June 6, 2026 at 2:50 pm

    This is a well documented bug with AllowTransparency=TRUE. It only happens on some computers running Win XP.

    http://connect.microsoft.com/VisualStudio/feedback/details/465964/wpf-combobox-dropdown-list-appears-behind-the-form-when-allowstransparency-true

    A workaround is found here:

    As noted before, this is an issue with layered windows on XP. There is
    not much that can be done at the WPF level to solve this, and given
    that XP is no longer being serviced this isn’t very likely to be
    fixed. There are potentially workarounds you can employ, though.

    The source of the problem is that WPF uses something called “Layered
    Windows” when WindowStyle=None and AllowsTransparency=True. Often the
    reason for doing this is to implement custom window chrome. Recently
    the WPF team published a library that allows you to get custom chrome
    without resorting to layered windows. The library is available at

    http://code.msdn.microsoft.com/WPFShell

    This doesn’t support per-pixel opacity, but it does allow for
    completely custom rendering of the window, including areas normally
    managed by the system. It lets you set the radii of the windows
    corners, but not have a completely arbitrary shape. If you can use
    this library instead of AllowsTransparency=True then it should solve
    this issue.

    Microsoft has issued a hotfix, but it seems to not have fixed all problems related to the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ComboBox like this: <ComboBox IsEditable=True ItemsSource={Binding SelectableValues} SelectedValue={Binding SelectedValue} /> SelectableValues
I have a view with a ComboBox like this <ComboBox Name=cmbPurpose DisplayMemberPath=@value SelectedValuePath=@key ItemsSource={Binding
I have a ComboBox with a label function like this one: private function fieldLabelFunction(item:Object):String
I have a combobox inside of my WPF DataGrid. It is created like this:
I would like to take the xaml I currently have for a ComboBox (below),
I have a Nationality ComboBox like the one below and want to make it
i have a combobox which is bound to a datatable column like this: ComboBox.DataContext
I have a comboBox and values like basic and advanced. And viewstack container conatains
I have a class that has an instance property on it like below Public
I have a RadComboBox that i have bound like shown below <telerik1:RadComboBox Grid.Row=2 Grid.Column=1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.