Thursday, October 27, 2011

Don't derive from Selector

It is a base class that is used by ListBox ComboBox TabControl and others.. Why I cannot derive from it? because for some reason the designers decided to declare few critical functionality as internal . These methods were used in ListBox, ComboBox and TabControl in order to achieve their functionality but yet the designer determined to declare these methods as internal .. WHHHYYY?!!

I don't have the answer. I am deriving from ItemsControl instead.

No comments: