• .NET

    Windows 8 App Bars

    September 20, 2012 Share
    In my previous posting I said that I’d be distilling parts of my presentations into blog posts.  This post continues that idea, focusing on the App Bar.  If we are going to place Content Before Chrome and remove as much of the navigation from the content as possible, we need a way to make the chrome (e.g., navigation and command buttons) available to the user on demand.  That is the role of the appbar.You retrieve the appbar by swiping up from the bottom or down from the top of the screen. The appbar can appear on the bottom, the top or both.  ...

  • .NET

    Windows 8–Who Cares?

    September 19, 2012 Share
    I am in Europe this week and for the next three weeks, traveling from city to city and giving presentations on Windows 8.  Along the way I will be distilling these presentations into blog posts, adding in commentary about what I’m learning as I give the presentations.There are four presentations that I’m giving in total:Crash Course In Windows 8 ProgrammingWindows 8 Programming for .NET DevelopersTo 10 Things You’ll Love About Windows 8 ProgrammingCrash Course II – Beyond the Basics of Windows 8 ProgrammingLast evening I gave the second of these,  and as I often do, I begin with a core...

  • .NET

    Searching in Windows 8

    September 12, 2012 Share
    Windows 8 Store Applications can take advantage of the shared “Charms” that you see when you swipe in from the right edge of your Windows 8 device (or press Win-C).  The top charm is searching and it provides tremendous functionality at relatively little programming effort.When you click search Windows 8 assumes you want to search the current application if that application has registered a Search “contract.”  If it has not, Windows 8 will assume you want to search the applications, as shown in the figure (click on the figure for full size). In any case, every program that implements a search contract...

  • .NET

    Building Your First Win8 Enterprise App

    September 10, 2012 Share
    You are a business analyst charged with understanding the retail market. You’ve decided to create an application that will display the relative revenues for the key stores in your district.  Obtaining the data is easy, but you’d like a graphic representation of the revenue volume for each of the key stores.  Start by storyboarding your application.  It will be a single page for now, just a prompt and a graph, In examining this storyboard you notice that you have a linear scale on the y axis and a categorical scale on the x axis.  This will be important when  you are...

  • .NET

    Pie Chart: Taking Control of the Label

    September 04, 2012 Share
    It is pretty straight-forward to create a pie chart with a simple label that identifies the “category” for each slice.  What is a bit trickier is to modify that label so that it shows not only the category, but the percentage each slice represents.Let’s build the pie chart both ways to see the difference.In either case, we begin with data.  Our pie chart will reflect a municipal budget, and so our first class is BudgetData, 1: public class BudgetData : INotifyPropertyChanged 2: { 3: private double millions; 4: public double Millions ...