protected virtual void OnSelected(RoutedEventArgs e) { UpdateVisualState(true); RaiseEvent(Selected, e); }