34 references to SelectionMode
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Venus\DocumentService_IntegrationTests.vb (2)
662
Public Property SelectionMode As
SelectionMode
Implements IWpfTableControl.SelectionMode
666
Set(value As
SelectionMode
)
PresentationFramework (31)
System\Windows\Controls\ListBox.cs (27)
59
SelectionMode
mode = (
SelectionMode
) SelectionModeProperty.GetDefaultValue(DependencyObjectType);
154
typeof(
SelectionMode
),
157
SelectionMode
.Single,
164
public
SelectionMode
SelectionMode
166
get { return (
SelectionMode
) GetValue(SelectionModeProperty); }
184
SelectionMode
value = (
SelectionMode
)o;
185
return value ==
SelectionMode
.Single
186
|| value ==
SelectionMode
.Multiple
187
|| value ==
SelectionMode
.Extended;
190
private void ValidateSelectionMode(
SelectionMode
mode)
192
CanSelectMultiple = (mode !=
SelectionMode
.Single);
289
if (SelectionMode ==
SelectionMode
.Single)
322
if (((Keyboard.Modifiers) == (ModifierKeys.Control)) && (SelectionMode ==
SelectionMode
.Extended))
335
if (((Keyboard.Modifiers) == (ModifierKeys.Control)) && (SelectionMode ==
SelectionMode
.Extended))
436
case
SelectionMode
.Single:
448
case
SelectionMode
.Multiple:
452
case
SelectionMode
.Extended:
685
if (listBox.SelectionMode ==
SelectionMode
.Extended)
694
if (listBox.SelectionMode ==
SelectionMode
.Extended)
712
case
SelectionMode
.Single:
727
case
SelectionMode
.Multiple:
731
case
SelectionMode
.Extended:
919
case
SelectionMode
.Single:
927
case
SelectionMode
.Multiple:
931
case
SelectionMode
.Extended:
System\Windows\Controls\ListView.cs (1)
42
SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(
SelectionMode
.Extended));
System\Windows\Controls\Primitives\Selector.cs (3)
293
SelectionMode
mode = (
SelectionMode
)GetValue(ListBox.SelectionModeProperty);
294
newSync = (mode ==
SelectionMode
.Single) &&
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
115
listView.SelectionMode =
SelectionMode
.Single;