Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Siderite

Siderite Siderite

Niner since 2006

Forum Thread Replies Latest activity
Coffeehouse IE7 Crashing (on close) 28
  • Creating a modular application using Prism V2 - Screencast 3/4 : Implementing views and services

    First of all, nice demo!

    Second of all, I have been trying to port this demo to a WPF application and I've stumbled into a HeaderInfo issue. I am setting the HeaderInfo property as in the demo, and then I am creating either an ItemTemplate or as in the demo an ItemContainerStyle where I set either the HeaderTemplate or the Header property. Nothing works!

    I used this:

     <TabControl.ItemContainerStyle>
    <Style TargetType="TabItem">
    <Setter Property="Header" Value="{Binding Path=HeaderInfo,Mode=OneWay,FallbackValue='Error!'}"/>
    </Style>
    </TabControl.ItemContainerStyle>

    Every attempt "Error!" is displayed. I tried binding to . (dot) to see what the DataContext was, but again, error was displayed. What am I doing wrong?! And please escuse the noobicity of this question, this is my first WPF app, but puh-lease, someone answer this!

  • This Week on Channel 9: Feb 15 with Scott Hanselman!

    [Sean Connery accent]Great Scott! This was the funnest Channel9 show I've ever watched!

    I laughed my gluteus maximus off at the end.Big Smile