Click here to Skip to main content
15,916,463 members
Home / Discussions / WPF
   

WPF

 
NewsSource and Unit Tests available now for Silverlight 2 Beta 1 Controls Pin
brucedkyle1-May-08 11:49
brucedkyle1-May-08 11:49 
GeneralRe: Source and Unit Tests available now for Silverlight 2 Beta 1 Controls Pin
Michael Sync5-May-08 16:47
Michael Sync5-May-08 16:47 
QuestionTargetInvocationException [modified] Pin
Ian Grech1-May-08 10:39
Ian Grech1-May-08 10:39 
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 
I've tried doing that but nothing has changed. I used the example from INotifyPropertyChanged on MSDN for a template. Here is a snippet of my code:

public class SubtitleItem : IComparable<SubtitleItem>, INotifyPropertyChanged
{
private TimeSpan _TimeCodeStart;
public TimeSpan TimeCodeStart
{
get { return _TimeCodeStart; }
set
{
if (_TimeCodeStart != value)
{
_TimeCodeStart = value;
NotifyPropertyChanged("TimeCodeStart");
}
}
}

private TimeSpan _TimeCodeEnd;
public TimeSpan TimeCodeEnd
{
get { return _TimeCodeEnd; }
set
{
if (_TimeCodeEnd != value)
{
_TimeCodeEnd = value;
NotifyPropertyChanged("TimeCodeEnd");
}
}
}

public TimeSpan TimeCodeDuration
{
get { return TimeCodeEnd - TimeCodeStart; }
}

public event PropertyChangedEventHandler PropertyChanged;

private void NotifyPropertyChanged(String info)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(info));
}
}
}

What am I missing?

<div class="ForumMod">modified on Wednesday, April 30, 2008 7:00 PM</div>
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 
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 

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.