Obsolete properties HighlightBackgroundColor and HighlightForegroundColor...
ObjectListView - ListView on caffeine, guarana and steroids
Brought to you by:
grammarian
The properties HighlightForegroundColor and HighlightBackgroundColor have become obsolete in lieu of the new properties SelectedForeColor and SelectedBackColor. However, the VisualStudio designer is still picking the old properties as the defaults when designing a form with an ObjectListView control, causing obsolete property warnings. Even after changing the properties to the new properties, eventually the designer reverts to the old properties, and the warnings are shown again.
Suggest that the attribute [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] be used for those obsolete properties.
Yes, this is definitely an annoyance :)
You can find a fix described in this message: https://sourceforge.net/p/objectlistview/discussion/812923/thread/f9192a21/#41e5
Phillip, thanks for your reply. However, unless I am missing something, I don't see how the link for the fix you describe in your message relates to this particular issue, which I believe you perhaps meant for someone else?
I'm pretty sure that's the right thread. I tried to link to the last message in thread, but it seems SourceForge doesn't allow that.
The fix is in the last message in the thread.
Hi, is this issue going to be resolved in the near future?
Phllip, I kinda forgot about this thread. I still don't think the fix you are linking to relates to this particular issue. This is about properties that have been obsoleted, where a simple component model attribute could resolve. That is what I did in my fork. I merely would like to see this implemented in upstream.
The link for your fix refers to a completely unrelated issue dealling with NullRefs when editing a cell.
This was fixed in v2.9.1
Phillip,
You da man! Thank you for your efforts. Your product is like no other.