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)
53
SelectionMode
mode = (
SelectionMode
) SelectionModeProperty.GetDefaultValue(DependencyObjectType);
148
typeof(
SelectionMode
),
151
SelectionMode
.Single,
158
public
SelectionMode
SelectionMode
160
get { return (
SelectionMode
) GetValue(SelectionModeProperty); }
178
SelectionMode
value = (
SelectionMode
)o;
179
return value ==
SelectionMode
.Single
180
|| value ==
SelectionMode
.Multiple
181
|| value ==
SelectionMode
.Extended;
184
private void ValidateSelectionMode(
SelectionMode
mode)
186
CanSelectMultiple = (mode !=
SelectionMode
.Single);
283
if (SelectionMode ==
SelectionMode
.Single)
316
if (((Keyboard.Modifiers) == (ModifierKeys.Control)) && (SelectionMode ==
SelectionMode
.Extended))
329
if (((Keyboard.Modifiers) == (ModifierKeys.Control)) && (SelectionMode ==
SelectionMode
.Extended))
430
case
SelectionMode
.Single:
442
case
SelectionMode
.Multiple:
446
case
SelectionMode
.Extended:
679
if (listBox.SelectionMode ==
SelectionMode
.Extended)
688
if (listBox.SelectionMode ==
SelectionMode
.Extended)
706
case
SelectionMode
.Single:
721
case
SelectionMode
.Multiple:
725
case
SelectionMode
.Extended:
913
case
SelectionMode
.Single:
921
case
SelectionMode
.Multiple:
925
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)
284
SelectionMode
mode = (
SelectionMode
)GetValue(ListBox.SelectionModeProperty);
285
newSync = (mode ==
SelectionMode
.Single) &&
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
115
listView.SelectionMode =
SelectionMode
.Single;