protected virtual void OnSelectionChanged(SelectionChangedEventArgs e) { #if SILVERLIGHT SelectionChangedEventHandler handler = SelectionChanged; if (handler != null) { handler(this, e); } #else RaiseEvent(e); #endif }