WPF Business Application Series Part 1 of n – Application Structure, Skinning & Custom ToolBar Button Control

I have started a new series that will be posted on Code Project called the WPF Business Application Series.

This series targets business application developers who know the basics of WPF or have experience with WPF. The primary focus of the series is on writing business applications, rather than addressing the question, “what is a style, how do I apply a style or how does the UniformGrid control work.”

I have a few other ideas but for now the road map is:

  • Part 1 Application Structure, Skinning & Custom ToolBar Button Control
  • Part 2 Form Validation Summary Control
  • Part 3 Exception Handling and Logging
  • Part 4 Business Object Declarative Programming; How To Implement Object Validation & Logging
  • Part 5 Business Object Declarative Programming; How The Business Entity Base Class Work
  • Part 6 Business Object Declarative Programming; Dynamic Form Control
  • Part 7 Loading Menus & ToolBar From Object Source & Application Security
  • Part 8 Business Application MDI
  • Part 9 Displaying SQL Server Reporting Services Reports In WPF
  • Part 10 Complete Layered Business Application
  • Part 11 Complete Layered ASP.NET Business Application

Your can read Part 1 on Code Project here: Application Structure, Skinning & Custom ToolBar Button Control.

I hope you can learn about using WPF for writing business applications from this series.

Have a great day!

Just a grain of sand on the worlds beaches.

8 Responses to “WPF Business Application Series Part 1 of n – Application Structure, Skinning & Custom ToolBar Button Control”

  1. thamaluk Says:

    I was trying to move the Resources\Images folder to Core\WPF\IMAGES, in PartOne.xaml where the toolbar items are definded the property EnabledButtonImage=”\Resources\Images\New.png”. I cant figure how to reference the new location of the image files. Could you please show me the correct syntax ?

  2. Karl Shifflett Says:

    This syntax will work for you.

    EnabledButtonImage=”/Core;component/WPF/Images/New.png”

    It is broken down like this:
    /ReferencedAssembly;component/DirectoryName/ImageFileName

    The word “component” is not part of your application, but part of the syntax of the URI in the XAML.

    In a future project/article the images will be resource names instead of file names. This gives each skin the ability to point to a different set of images. However, this change is very simple, since a resource name points to the long name of the image.

    Have a nice day!

    Karl

  3. thamaluk Says:

    Thanks for your help, I should have known and in fact did know the answer to my own question once you answered it for me.

    I really like your WPF Business App series of posts and look forward to the future posts.

    Thanks

    Terry

  4. Karl Shifflett Says:

    Terry,

    There is no question that should not be asked. Never feel you “can’t” ask a question. That’s how we learn. It’s my pleasure to answer questions about the articles and blog posts.

    Thank you for you nice comments on the series, it is appreciated.

    Have a great day!

    Karl

  5. Gold Coast : WPF for Line of Business applications Says:

    [...] WPF Business Application Series Part 1 of n – Application Structure, Skinning & Custom ToolBar B… [...]

  6. Public Sector Developer Weblog : WPF for Line of Business applications Says:

    [...] WPF Business Application Series Part 1 of n – Application Structure, Skinning & Custom ToolBar B… [...]

  7. Dances With Dingo Says:

    So, how DO you use the UniformGrid control? I’ve only read the contents are accesible through the Children property, but are there any “secrets” I’m missing to make life easier in a more “column-centric” world than rolling my own indexing method? I like the structure of UniformGrid for many tasks, but it seems to be missing an indexer somewhere.

    — Jim —

  8. Karl Shifflett Says:

    Jim,

    Whenever I use the UniformGrid and need access to the cells, I set up an array for quick and easy access. I also use the array to populate the UniformGrid

    Cheers,

    Karl

Leave a Reply

You must be logged in to post a comment.