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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:53:20+00:00 2026-05-11T13:53:20+00:00

I have a large WPF application that uses a large number of styles, brushes,

  • 0

I have a large WPF application that uses a large number of styles, brushes, and theming. Managing the large number of styles with multiple developers is becoming difficult. Right now, most of our application-wide styles are in one resource dictionary and the theming brushes are each in their own resource dictionary.

The issue is that finding the style that we want to use is difficult because the main resource dictionary has gotten so large. Any recommendations on the best way to reorganize this? I’ve considered breaking it into separate resource dictionaries for the type of control the style is for. Such as a ButtonStyles.xaml dictionary, but I’m not sure if that is the right way to go.

If anyone has any suggestions on how they organize their large resource dictionaries I’d appreciate it.

  • 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. 2026-05-11T13:53:20+00:00Added an answer on May 11, 2026 at 1:53 pm

    Definitely using multiple resource dictionaries is the way to go. The ability to merge resource dictionaries has been a hindrance to Silverlight developers (until 3.0) and a boon to WPF developers since the beginning.

    For medium-sized projects, I highly recommend clustering your resources in dictionaries that indicate a particular type, e.g. ButtonStyles.xaml and Brushes.xaml and Images.xaml and so on.

    For really big projects where you have multiple contributors to multiple shared resource dictionaries that might be consumed from multiple WPF applications and front-ends, I would recommend creating a whole separate Assembly that contains all of your resource dictionaries.

    I haven’t tried this personally, but I’ve been told that Expression Blend 2 and even more so in Blend 3 has really good GUIs for building and organizing your resource dictionaries and converting per-control styles into resources, etc.

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

Sidebar

Ask A Question

Stats

  • Questions 77k
  • Answers 77k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Depends on how the responsibilities on your team are broken… May 11, 2026 at 3:21 pm
  • added an answer Use a Long. Even with an in-memory database, the performance… May 11, 2026 at 3:21 pm
  • added an answer Well, the ideal would probably be to not need delete… May 11, 2026 at 3:21 pm

Related Questions

I have a WPF application that connects via a socket to a device and
We are developing a rather large WPF based application and would like to include
I have an application that displays league tables for sporting leagues. These tables are
I need incorporate a syntax highlighting editor control into my application. It is required

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.