Advanced Forum Search Results
-
I ended up resolving this by creating an ObservableLinkedList class that borrows heavily from the standard LinkedList class. I copied the code using Reflector and modified ObservableLinkedList to implement INotifyCollectionChanged and ObservableLinkedListNode to implement INotifyPropertyChanged. Here is my blog posting describing the ...
-
Once you switch to setting the DataContext to the item in the array, you definitely have more binding opportunities. Unfortunately that's not an option in my case. In particular, the point where I'm actually using this code is within a DataGrid, where the DataContext for the row is set to the object containing the ...
-
angemc,
I am trying to solve a similar problem using Converter. I am also trying to get around the issue with binding to an array element. I need to do two-way binding as well. Ultimately the binding I'm setting will be used in a DataGrid text box column, but for simplicity you can think of it as:
A text box whose Text ...
-
Here's the sample code I've written that makes me say that I'm fairly certain binding to array elements isn't supported:
<UserControl x:Class="SilverlightApplication3.TestBindingToArrayElement"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
...
-
I've got an answer for that last question about why you would want to do this. Hopefully that will help get to a final resolution on this issue.
I have a Silverlight DataGrid being used to edit data. Some of the data that I need to edit is collapsed into a tokenized string. The property of the object is named ...
-
I appear to have resolved my problem (for the moment) by changing the way my classes are structured. Previously I had this basic architecture:
public class Notifiable : INotifyPropertyChanged {
#region INotifyPropertyChanged Members
public event PropertyChangedEventHandler PropertyChanged;
...
-
I am running into this problem now, in the final Silverlight 2 release. Is there any additional information on this issue?
Thanks,
David Cater
-
Has anyone found a solution for this? I'm using Tooltips to provide error information when data in a field is invalid. I'm using the new DataBinding validation architecture (the BindingValidationError routed event), which requires throwing an exception when the source property in the binding is set to something ...
-
That does sound tricky. In WPF I've used Emit to create assembnlies on the fly, and ITypeDescriptor (I think that's right) to present arbitrary type information for my objects on the fly, but I don't know if Silverlight has those capabilities.
Thanks for the info on PreparingCellForEdit. Nice job!
David
-
I feel for you, man. Good luck with it. Too bad you're missing it...it's a good conference so far. Lots of interesting stuff coming out (primarily Azure and C# 4.0 changes, I would say).
David