Hi,
I have a GridView bound to a ObservableList<DynamicObject>. I need to use DynamicObject since there could be undetermined number of columns displayed in GridView. The binding to data works fine.
I would also like to notify user which rows are containing invalid data. When using regulkar types and DataAnnotations everything works fine. How can I achieve the same result with DynamicObject?
Only requirement is if data exists or not. All data are of string type, If required for UI validation, I can expose bool properties (like IsValid)
Regards,
Goran
I have a GridView bound to a ObservableList<DynamicObject>. I need to use DynamicObject since there could be undetermined number of columns displayed in GridView. The binding to data works fine.
I would also like to notify user which rows are containing invalid data. When using regulkar types and DataAnnotations everything works fine. How can I achieve the same result with DynamicObject?
Only requirement is if data exists or not. All data are of string type, If required for UI validation, I can expose bool properties (like IsValid)
public class SomeObject : DynamicObject, INotifyPropertyChanged
{
public bool IsValid { ... }
}
Regards,
Goran