Reputation: 203 Stalwart
- Active Posts:
- 774 (0.6 per day)
- 03-June 10
- Profile Views:
- Last Active:
- Sep 20 2012 12:39 PM
- OS Preference:
- Who Cares
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 9 Jul 2012I personally wouldn't use the negative sounding part:
QuoteVery low tendency to abandon unfinished projects
I'd make it more positive some how...but upon trying to rephrase it I realized that I'm not sure what you're trying to get at here.
Posted 11 Apr 2012Is the binding in your User Control depending on the DataContext of the user control?
If so, in the ActiveRecipe property's set block, set this.DataContext=_activeRecipe or value.
If the bindings of the controls in your User Control are not depending on the DataContext, then you will have to provide more code snippets for us to see how you are binding the controls in your User Control to the Recipe.
Aside: If you want to bind the user control to the selected recipe in the list, you have to change your ActiveRecipe property into a dependency property. You would have to implement a method that handles when the dependency property changes to set the DataContext of the user control. Or you need to change your bindings in the User Control to access the User Control's AcitveRecipe property.
Posted 20 Mar 2012...living abroad is substantially cheaper than living in the US....
Not so much so if you live abroad in Canada.
I don't know why it is so much more expensive to live here, but when I drive to Detroit on business I make sure to fill up my tank because it saves me over $30. Seeing as the Canadian dollar is bouncing around par with the US dollar, I get a little irked when I notice that the Canadian price listed on books is always more than the US listing. It's not just gas and books either, food is cheaper there too! And since the housing market crashed, foreclosed houses keep catching my eye...even vehicles are cheaper.
Sometimes I consider moving there and then I remember that just north of the border, we don't have a need for barbed/razor-wire-fences around our parking lots... there is no need for thick, bullet proof glass in our gas stations...and most of us don't have guns in our homes.
Posted 20 Mar 2012What is the addon plugging into?
Posted 19 Mar 2012It should work.
My simple example did...
If you click on the check box, it will not automatically update the object's property...the property is updated once the check box looses focus.
This is the default binding behaviour for most WPF controls.
If you want the property to be updated as soon as the check box is checked you need to change the binding to tell it to update when the control's IsChecked property changes instead of when the control looses focus.
In order to change this you will have to specify the bindings yourself... you can't use the default bindings created when the columns are automatically generated for you.
Configure the DataGrid so that it does not automatically generate the columns so that you provide controls and change the binding behaviour for these controls in each column.
- Member Title:
- D.I.C Addict
- Age Unknown
- Birthday Unknown
- Programing and music :)
- Programming Languages:
- .NET (C#, VB, ASP.NET...), Java, C/C++, PHP