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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:02:09+00:00 2026-05-23T09:02:09+00:00

We are deciding if we should standardize on camelCase or PascalCase for XAML resource

  • 0

We are deciding if we should standardize on camelCase or PascalCase for XAML resource names.

Does anybody know if one style is usually favored over the other?

Does Microsoft have any convention for this?

For the record, we use camelCase for fields (that includes WPF controls, in the very few cases where they are named)

To avoid religious arguments: I’m not looking for “this approach is BETTER than the other because…” responses. A good answer would include links to reference material and/or statistics.

  • 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-23T09:02:10+00:00Added an answer on May 23, 2026 at 9:02 am

    For the x:Name attribute, you should use camel casing, as this generally results in a field being created behind the scenes. Microsoft, doesn’t really follow this though in their default Styles, as control templates are one exception where a backing field is not created.

    For the x:Key attribute, I’ve only ever seen pascal casing used. This includes in Microsoft’s default Styles.

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

Sidebar

Related Questions

I'm learning MVC and am having trouble deciding when I should create a new
Are there any guidelines/best practices for deciding what type of data should be stored
I keep having problems deciding how I should create my classes internally. Initially I
When I design a class I often have trouble deciding if I should throw
I'm having some trouble deciding which approach I should take. I want to allow
I'm having some trouble deciding how two classes should interact and the problem I'm
I'm having problems deciding on what is the best way is to handle and
I'm having trouble deciding if I want a project of mine to be web-based
I am deciding on a framework to try out for PHP. I have narrowed
We are deciding the naming convention for tables, columns, procedures, etc. at our development

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.