23 references to None
PresentationCore (9)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (1)
113
DependencyProperty.Register("Modifiers", typeof(ModifierKeys), typeof(KeyBinding), new UIPropertyMetadata(ModifierKeys.
None
, new PropertyChangedCallback(OnModifiersPropertyChanged)));
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (2)
48
: this(key, ModifierKeys.
None
)
312
private ModifierKeys _modifiers = ModifierKeys.
None
;
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (1)
125
ModifierKeys modifiers = ModifierKeys.
None
;
Core\CSharp\System\Windows\Input\Command\MouseGesture.cs (2)
53
public MouseGesture(MouseAction mouseAction): this(mouseAction, ModifierKeys.
None
)
237
private ModifierKeys _modifiers = ModifierKeys.
None
;
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (1)
70
return new MouseGesture(MouseAction.None, ModifierKeys.
None
); ;
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
233
ModifierKeys modifiers = ModifierKeys.
None
;
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
748
ModifierKeys modifierKeys = ModifierKeys.
None
;
PresentationFramework (5)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3192
_empty = new ItemNavigateArgs(null, ModifierKeys.
None
);;
src\Framework\System\Windows\Controls\ListBox.cs (1)
418
if (IsTextSearchEnabled && Keyboard.Modifiers == ModifierKeys.
None
)
src\Framework\System\Windows\Controls\Slider.cs (1)
187
if (keyEventArgs != null && slider != null && Keyboard.Modifiers == ModifierKeys.
None
)
src\Framework\System\Windows\Controls\TextSearch.cs (1)
253
_attachedTo.NavigateToItem(matchedItem, matchedItemIndex, new ItemsControl.ItemNavigateArgs(Keyboard.PrimaryDevice, ModifierKeys.
None
));
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3282
if ((Keyboard.Modifiers & (ModifierKeys.Control | ModifierKeys.Shift | ModifierKeys.Windows)) == ModifierKeys.
None
)
System.Activities.Core.Presentation (2)
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
183
if (null != item && item.IsSelected && item.IsSelectionActive && Key.Enter == e.Key && Keyboard.Modifiers == ModifierKeys.
None
)
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
92
if (e.Key == Key.Enter && Keyboard.Modifiers == ModifierKeys.
None
)
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (1)
177
else if (keyArgs.Key == this.chordKey && (Keyboard.Modifiers == ModifierKeys.
None
|| Keyboard.Modifiers == ModifierKeys.Control))
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
271
(e.KeyboardDevice.Modifiers == ModifierKeys.
None
|| e.KeyboardDevice.Modifiers == ModifierKeys.Shift))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
709
if (!e.Handled && Keyboard.Modifiers == ModifierKeys.
None
&& e.OriginalSource is WorkflowViewElement)
921
if ((null != keyArgs && keyArgs.Key == Key.Enter && Keyboard.Modifiers == ModifierKeys.
None
) || null != mouseArgs)
938
if (null != breadcrumbItems && breadcrumbItems.Items.Count > 0 && Keyboard.Modifiers == ModifierKeys.
None
&& (e.Key == Key.Left || e.Key == Key.Right))
WindowsBase (2)
Base\System\Windows\Input\ModifierKeysConverter.cs (2)
157
ModifierKeys modifiers = ModifierKeys.
None
;
206
return (modifierKeys == ModifierKeys.
None
|| (((int)modifierKeys & ~((int)ModifierKeysFlag)) == 0));