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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:33:15+00:00 2026-06-06T22:33:15+00:00

I have a problem understanding one style definition in Windows 8 metro apps. When

  • 0

I have a problem understanding one style definition in Windows 8 metro apps.

When you create a metro style application with VS, there is also a folder named

Common

created. Inside this folder there is file called

StandardStyles.xaml

Now the following snippet is from this file:

<!-- Grid-appropriate 250 pixel square item template as seen in the GroupedItemsPage and ItemsPage -->
<DataTemplate x:Key="Standard250x250ItemTemplate">
    <Grid HorizontalAlignment="Left" Width="250" Height="250">
        <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}">
            <Image Source="{Binding Image}" Stretch="UniformToFill"/>
        </Border>
        <StackPanel VerticalAlignment="Bottom" Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}">
            <TextBlock Text="{Binding Title}" Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextStyle}" Height="60" Margin="15,0,15,0"/>
            <TextBlock Text="{Binding Subtitle}" Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextStyle}" TextWrapping="NoWrap" Margin="15,0,15,10"/>
        </StackPanel>
    </Grid>
</DataTemplate>

What I do not understand here is the static resource definition, e.g. for the Border

Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}"

It is not about how you work with templates and binding and resources.

Where is this ListViewItemPlaceholderBackgroundThemeBrush located?

Many thanks for your help.

Dimi

  • 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-06T22:33:16+00:00Added an answer on June 6, 2026 at 10:33 pm

    This is one of those incredibly frustrating things that should be in Microsoft’s documentation, but isn’t (yet).

    ListViewItemPlaceholderBackgroundThemeBrush is one of the System Brush Resources. It’s defined by the Metro “Light” or “Dark” theme (whichever you selected for your app).

    You can see the full list of system brushes in Blend. (Unfortunately, I haven’t found any way to enumerate them in code. There doesn’t seem to be any programmatic way to inspect the theme resources.)

    Here are some steps that will get you to the full list. (Of course, you can abbreviate the steps if you’re already familiar with Blend.)

    1. Open Expression Blend.
    2. Create a new project, and select XAML (Windows Metro style) > Blank App (XAML) and click OK.
    3. Click in the design surface to select the Grid. (In the “Objects and timeline” docked window in the lower-left, the “[Grid]” line will become highlighted.)
    4. In the Properties docked window in the upper right, find the “Brush” category.
    5. Right below where it says “Background: No brush”, there’s a row of five buttons. Click the rightmost button (“Brush resources”).

    The list of system brush resources will appear in the listbox.

    enter image description here

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

Sidebar

Related Questions

Due to incomplete understanding of eclipse infrastructure I have one problem. Historically we have
I have the following basic (and maybe stupid) understanding problem in JSF: There is
I have problem understanding this one: <?php $string = 'April 15, 2003'; $pattern =
I seem to have a problem understanding how to conditionally test a boolean value
I think I have a problem in understanding the proper way of using MVC.
I have an understanding problem of how the following code works: XMLInputFactory xif =
I think i have a basic problem in understanding the dojo toolkit. Well I
I'm having problems with understanding how jQuery create headers for ajax post. I have
I am facing a situation that I have problem understanding... I am writing a
I have a problem understanding what's causes the compilation error in the code below:

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.