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

  • SEARCH
  • Home
  • 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 7442553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:11:30+00:00 2026-05-29T11:11:30+00:00

When I select any item of the combobox below, it doesn’t get displayed on

  • 0

When I select any item of the combobox below, it doesn’t get displayed on the combobox. The combobox is always blank even though its list of items is populated and allows selection of its items.

I looked it up and it looks like everything I did so far is the way it should be, but obviously something is wrong!

<ComboBox Margin="0,61,32,0" Width="100" Height="26" HorizontalAlignment="Right" x:Name="ExportComboBox">
                    <ComboBoxItem Width="100">
                        <StackPanel Orientation="Horizontal">
                            <Image Height="24" Source="Images/Word.png" Width="24" ToolTip="Word - .doc" />
                            <TextBlock Text=" Word" />
                        </StackPanel>
                    </ComboBoxItem>
                    <ComboBoxItem Width="100">
                        <StackPanel Orientation="Horizontal">
                            <Image Height="24" Source="Images/Excel.png" Width="24" ToolTip="Excel - .xls"/>
                            <TextBlock Text=" Excel" />
                        </StackPanel>
                    </ComboBoxItem>
                    <ComboBoxItem Width="100">
                        <StackPanel Orientation="Horizontal">
                            <Image Height="24" Source="Images/Txt.png" Width="24" ToolTip="Text - .txt" />
                            <TextBlock Text=" Text File" />
                        </StackPanel>
                    </ComboBoxItem>
                </ComboBox>

Any help will be very much appreciated,
R

  • 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-05-29T11:11:31+00:00Added an answer on May 29, 2026 at 11:11 am

    Set the SelectedIndex property of the ComboBox to 0 and the first value will be selected when the ComboBox is loaded.

    <ComboBox SelectedIndex="0" Margin="0,61,32,0" Width="100" Height="26" HorizontalAlignment="Right" x:Name="ExportComboBox">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before any item in a ComboBox is selected, its SelectedItem is null and the
One of the most powerful things of jQuery is to select any item on
I want to be able to select any of the four individual spans below
Is there any way to select items in a list that aren't contained in
I need to select custom item under WPF Combobox by code behind. For example:
I have several combo boxes and labels. when a user select any item from
I'm trying to create combobox type interface so that user can select an item
Once I created a form builder where user could select any number of fields
I have a dropdownlist which lists Country names When user select any country from
If the title isn't clear; I want to be able to select any character

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.