Questions tagged [propertychanged]

221 questions
1
vote
1 answer

Debugging PropertyChanged

I have a class named ViewModel, with this code: public event PropertyChangedEventHandler PropertyChanged; var copyOfPropertyChangedEvent = PropertyChanged; if (copyOfPropertyChangedEvent != null) { var args =…
petko_stankoski
  • 10,459
  • 41
  • 127
  • 231
1
vote
1 answer

Detect binding property changed within a user control

I am working on a Windows Store app in which I have a user control as a data template inside flipview. User Control: (ImagePage.xaml)
ken chan
  • 35
  • 5
1
vote
1 answer

ComboBox binding returns control type on top of SelectedValue

I have a ComboBox:
B.K.
  • 9,982
  • 10
  • 73
  • 105
1
vote
1 answer

PropertyChanged is always null

I am binding a Datagrid to Observablecollection.Below is my ObservableCollection class. But the Property changed is always NULL and it is null even after Making my XAML like this. Please Guide me in this Thanks!
Ganesh Kumar
  • 108
  • 2
  • 11
1
vote
1 answer

textbox is being filled but datepicker is not via mvvm binding

I have a textbox with a date in it and I want to convert it to a datepicker for twoway binding. But unfortunately the datepicker doesn't show the date.
user1841243
  • 1,663
  • 2
  • 19
  • 35
1
vote
1 answer

Responsive UI in async drawing

I am trying to create a drawing with 5000 Shape objects in a background thread on a canvas. I use the asyn-await pattern: async void CreateDrawingAsync() { await Task.Run(() => CreateDrawing()).ConfigureAwait(false); } void CreateDrawing() { …
Gerard
  • 13,023
  • 14
  • 72
  • 125
1
vote
1 answer

Changing input value text color using javascript

I'm newbie in JavaScript and I want to change the input element text Color but nothing happen when I load the page where I made a Mistake ?