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 447501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:34:36+00:00 2026-05-12T21:34:36+00:00

I am trying to work out a style for a ComboBox that has a

  • 0

I am trying to work out a style for a ComboBox that has a navy background with white text, so I want the drop down arrow to be white also (the xaml I have so far is below).

  <Style x:Key="ComboBoxStyle" TargetType="ComboBox">
     <Setter Property="Background" Value="{StaticResource headerBrush}"/>
     <Setter Property="Foreground" Value="White"/>
     <Setter Property="BorderBrush" Value="{StaticResource headerBorderBrush}"/>
     <Setter Property="BorderThickness" Value="1"/>
     <Setter Property="SnapsToDevicePixels" Value="True"/>
     <Setter Property="MinWidth" Value="100"/>
     <Setter Property="Height" Value="21"/>
     <Setter Property="Cursor" Value="Hand"/>
     <Setter Property="Padding" Value="5"/>
     <Setter Property="Margin" Value="3"/>
     <Setter Property="HorizontalContentAlignment" Value="Center"/>
  </Style>
  <Style x:Key="ComboBoxItemStyle" TargetType="ComboBoxItem">
     <Setter Property="Background" Value="AliceBlue"/>
     <Setter Property="Foreground" Value="Navy"/>
     <Setter Property="HorizontalContentAlignment" Value="Left"/>
  </Style>

ADDED code to set the ControlTemplate?

<Setter Property="Template">
    <Setter.Value>
        <ControlTemplate TargetType="ComboBox">
            <Path x:Name="Arrow" Fill="White"/>
        </ControlTemplate>
    </Setter.Value>
</Setter>
  • 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-12T21:34:37+00:00Added an answer on May 12, 2026 at 9:34 pm

    You need to edit the ControlTemplate of ComboBox and you can see a the Arrow as a Path. So change the Fill property of the Path to your desired arrow color. See sample ControlTemplate here
    http://msdn.microsoft.com/en-us/library/ms752094.aspx

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

Sidebar

Related Questions

I'm trying to work out the following bit of CSS: <style type=text/css> .parent {
I'm trying to work out the ControlTemplate.Triggers in the Style below, and I haven't
I'm trying to work out the correct pattern to use for a Singleton that
I'm trying to work out how, after changing style properties with javascript, I can
I have been trying to work out how to insert text before and after
I'm trying to work out how to organize an android application that will have
I'm calling a UIAlertView with the PlainTextView style, and I'm trying to work out
I am trying work out with MERGE statment to Insert / Update Dimension Table
Im trying to work out how to get the value from one setting in
I trying to work out what regex will match filenames in quotes. Eg. blah

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.