Click here to Skip to main content
15,912,329 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: TargetInvocationException Pin
Edmundisme1-May-08 10:51
Edmundisme1-May-08 10:51 
GeneralRe: TargetInvocationException Pin
Ian Grech1-May-08 11:08
Ian Grech1-May-08 11:08 
QuestionProperly display dynamic calculations in databinding? [modified] Pin
artwallacex30-Apr-08 12:15
artwallacex30-Apr-08 12:15 
AnswerRe: Properly display dynamic calculations in databinding? Pin
Pete O'Hanlon30-Apr-08 12:41
mvePete O'Hanlon30-Apr-08 12:41 
GeneralRe: Properly display dynamic calculations in databinding? [modified] Pin
artwallacex30-Apr-08 12:54
artwallacex30-Apr-08 12:54 
GeneralRe: Properly display dynamic calculations in databinding? Pin
User 27100930-Apr-08 15:07
User 27100930-Apr-08 15:07 
GeneralRe: Properly display dynamic calculations in databinding? Pin
artwallacex30-Apr-08 15:21
artwallacex30-Apr-08 15:21 
GeneralRe: Properly display dynamic calculations in databinding? Pin
User 27100930-Apr-08 15:37
User 27100930-Apr-08 15:37 
Give this minor tweek a go:

private TimeSpan _TimeCode;
public TimeSpan TimeCode
{
	get { return _TimeCode; }
	set
	{
		_TimeCode = value;
                NotifyPropertyChanged("TimeCode");
                NotifyPropertyChanged("TimeCodeCalc");
	}
}


Since TimeCodeCalc is ready only, you just need to tell the UI that it changed. Presto, you are in business.

Cheers, Karl

» CodeProject 2008 MVP
» Microsoft MVP - Client App Dev

My Blog | Mole's Home Page | MVP Profile

Just a grain of sand on the worlds beaches.



modified 27-Feb-21 21:01pm.

GeneralRe: Properly display dynamic calculations in databinding? Pin
artwallacex30-Apr-08 15:53
artwallacex30-Apr-08 15:53 
GeneralRe: Properly display dynamic calculations in databinding? Pin
User 27100930-Apr-08 16:01
User 27100930-Apr-08 16:01 
GeneralRe: Properly display dynamic calculations in databinding? Pin
artwallacex30-Apr-08 16:26
artwallacex30-Apr-08 16:26 
GeneralRe: Properly display dynamic calculations in databinding? Pin
Ed.Poore3-May-08 0:08
Ed.Poore3-May-08 0:08 
GeneralRe: Properly display dynamic calculations in databinding? [modified] Pin
artwallacex1-May-08 10:51
artwallacex1-May-08 10:51 
GeneralRe: Properly display dynamic calculations in databinding? Pin
User 2710092-May-08 15:18
User 2710092-May-08 15:18 
QuestionPlease help me in wpf/expression blend Pin
kishorekumar.malla@live.com30-Apr-08 0:07
kishorekumar.malla@live.com30-Apr-08 0:07 
AnswerRe: Please help me in wpf/expression blend Pin
User 171649230-Apr-08 0:43
professionalUser 171649230-Apr-08 0:43 
AnswerRe: Please help me in wpf/expression blend Pin
Pete O'Hanlon30-Apr-08 1:37
mvePete O'Hanlon30-Apr-08 1:37 
AnswerRe: Please help me in wpf/expression blend Pin
User 27100930-Apr-08 3:04
User 27100930-Apr-08 3:04 
GeneralRe: Please help me in wpf/expression blend Pin
Pete O'Hanlon30-Apr-08 3:21
mvePete O'Hanlon30-Apr-08 3:21 
GeneralRe: Please help me in wpf/expression blend Pin
User 171649230-Apr-08 10:38
professionalUser 171649230-Apr-08 10:38 
GeneralRe: Please help me in wpf/expression blend Pin
Pete O'Hanlon30-Apr-08 11:13
mvePete O'Hanlon30-Apr-08 11:13 
GeneralRe: Please help me in wpf/expression blend Pin
User 27100930-Apr-08 15:04
User 27100930-Apr-08 15:04 
GeneralRe: Please help me in wpf/expression blend Pin
Pete O'Hanlon30-Apr-08 23:14
mvePete O'Hanlon30-Apr-08 23:14 
GeneralRe: Please help me in wpf/expression blend Pin
User 17164921-May-08 0:35
professionalUser 17164921-May-08 0:35 
GeneralRe: Please help me in wpf/expression blend Pin
Pete O'Hanlon1-May-08 1:01
mvePete O'Hanlon1-May-08 1:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.