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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:30:14+00:00 2026-06-17T11:30:14+00:00

For example, using the Light Theme means that the back and appbar buttons are

  • 0

For example, using the Light Theme means that the back and appbar buttons are black.
However when using a darker app bar colour, the contrast of the buttons is stark.
Here’s a screen grab, ignore the quality of the white one. https://i.stack.imgur.com/Fr0Zs.png

Is there any way to directly access the styles that result in one theme’s icons vs anothers?

Note: I’m building a C# + XAML app.

  • 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-17T11:30:15+00:00Added an answer on June 17, 2026 at 11:30 am

    As a start the button will be looking somewhat like this:

    start

    Under the StandartStyles.xml you have to look for the style AppBarButtonStyle first to change your icon color find <Setter Property="Foreground" Value="{StaticResource AppBarItemForegroundThemeBrush}"/>

    Now you replace {StaticResource AppBarItemForegroundThemeBrush} with the color you want you can use both white and #FFFFFFFF. now you have changed the visuals of your icon and you should have something like this

    enter image description here

    Now you need to style the text below this is done by finding the </TextBlock tag a few lines down and also changeing the forground property there

    step two

    Now you have a nice looking icon but as soon as you mouse over it all turns quiet ugly agien. in order to change the diffrent states move down to the <VisualStateGroup x:Name="CommonStates"> tag here you will find a tag <VisualState x:Name="PointerOver"> as you might suspect this changes the properties of button when you hover the mouse over it.

        <VisualState x:Name="PointerOver">
            <Storyboard>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGlyph" Storyboard.TargetProperty="Foreground">
        <!-- the background of the actionbar-> !--><DiscreteObjectKeyFrame KeyTime="0" Value="yourBackgroundColor"/> 
                                        </ObjectAnimationUsingKeyFrames>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="Foreground">
        <!-- the icon of the actionbar-> --><DiscreteObjectKeyFrame KeyTime="0" Value="yourActionBarIconColor"/> 
                                        </ObjectAnimationUsingKeyFrames>
            </Storyboard>
        </VisualState>
    

    If you keep scrolling down you will find <VisualState x:Name="Pressed"> and so on.

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

Sidebar

Related Questions

I saw this C# using statement in a code example: using StringFormat=System.Drawing.StringFormat; What's that
I'm currently having an issue with using custom ListView adapters with the Holo.Light theme.
I am using the deprecated Tab Bar at the bottom of my App. an
For example using SQL I can do: SELECT (a+b) as c FROM table WHERE
Given the following example (using JUnit with Hamcrest matchers): Map<String, Class<? extends Serializable>> expected
Let's have an example: using (var someObject = new SomeObject()) { var someOtherObject =
I have this simple example: using System; using System.Collections.Generic; namespace ConsoleApplication1 { class Program
I'm trying to do a simple example using jQuerys fadeTo method. It works as
I have looked at this example using php and GD to piecewise-render a spiral
Could someone provide a simple example using getopt.pas with short and long command line

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.