34 references to SelectionMode
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Venus\DocumentService_IntegrationTests.vb (2)
662Public Property SelectionMode As SelectionMode Implements IWpfTableControl.SelectionMode 666Set(value As SelectionMode)
PresentationFramework (31)
System\Windows\Controls\ListBox.cs (27)
53SelectionMode mode = (SelectionMode) SelectionModeProperty.GetDefaultValue(DependencyObjectType); 148typeof(SelectionMode), 151SelectionMode.Single, 158public SelectionMode SelectionMode 160get { return (SelectionMode) GetValue(SelectionModeProperty); } 178SelectionMode value = (SelectionMode)o; 179return value == SelectionMode.Single 180|| value == SelectionMode.Multiple 181|| value == SelectionMode.Extended; 184private void ValidateSelectionMode(SelectionMode mode) 186CanSelectMultiple = (mode != SelectionMode.Single); 283if (SelectionMode == SelectionMode.Single) 316if (((Keyboard.Modifiers) == (ModifierKeys.Control)) && (SelectionMode == SelectionMode.Extended)) 329if (((Keyboard.Modifiers) == (ModifierKeys.Control)) && (SelectionMode == SelectionMode.Extended)) 430case SelectionMode.Single: 442case SelectionMode.Multiple: 446case SelectionMode.Extended: 679if (listBox.SelectionMode == SelectionMode.Extended) 688if (listBox.SelectionMode == SelectionMode.Extended) 706case SelectionMode.Single: 721case SelectionMode.Multiple: 725case SelectionMode.Extended: 913case SelectionMode.Single: 921case SelectionMode.Multiple: 925case SelectionMode.Extended:
System\Windows\Controls\ListView.cs (1)
42SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(SelectionMode.Extended));
System\Windows\Controls\Primitives\Selector.cs (3)
284SelectionMode mode = (SelectionMode)GetValue(ListBox.SelectionModeProperty); 285newSync = (mode == SelectionMode.Single) &&
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
115listView.SelectionMode = SelectionMode.Single;