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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:34:39+00:00 2026-06-12T20:34:39+00:00

Well, after it initially not working I managed to find the StandardStyles.xaml file which

  • 0

Well, after it initially not working I managed to find the StandardStyles.xaml file which contains things like {StaticResource EditAppBarButtonStyle} that are used all over MSDN in examples. I uncommented the declaration of EditAppBarButtonStyle in StandardStyles.xaml so now the app does not crash but now it just shows up with this:

enter image description here

And the XAML code is:

<Page.BottomAppBar>
    <AppBar x:Name="bottomAppBar" Padding="10,0,10,0" Background="Black">
        <Grid>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                <Button x:Name="Edit" Tag="Edit" Content="{StaticResource EditAppBarButtonStyle}"/>
            </StackPanel>
        </Grid>
    </AppBar>
</Page.BottomAppBar>

After searching all over I can’t figure this one out. I didn’t even see StandardStyles.xaml mention anywhere, I had to download a sample from MSDN and then go through every file and see what was different. Could anybody tell me why it does not show up with an icon? It is probably a quick thing that I just haven’t managed to find.

Also, is this sort of stuff actually mentioned anywhere on MSDN? Thanks

  • 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-12T20:34:41+00:00Added an answer on June 12, 2026 at 8:34 pm

    The problem is that you set the style to the Content property rather than the Style property.

    Try:

    <Button x:Name="Edit" Tag="Edit" Width="115" Height="70" Style="{StaticResource EditAppBarButtonStyle}"/>
    

    In xaml, if you set an object to display that isn’t a visual object, then it will simply print the type of the object, which is why you saw Windows.UI.Xaml.Style since that is the type of a style.

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

Sidebar

Related Questions

I am using AVPlayer it is working perfectly on device as well, but after
Initially i was after a BigDecimal with more functionality than the simple +-*/ which
Well after a while of scratching my head and going huh? trying to figure
Well looks too simple a question to be asked but i asked after going
Well how could I change the before image to the after image by using
After much searching and googling I am coming back to the well. I have
I've got an after insert trigger that works well. However, I want it to
Tomcat has got that well-known memory leak problem that causes PermGen space errors after
After following these steps: http://developers.facebook.com/docs/mobile/android/build/ I find that everything goes well, but when I
here's a Fusion Tables map that's broken after a search. It does everything well

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.