2 implementations of IKeyboardInputSink
PresentationCore (1)
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
39
public class HwndSource : PresentationSource, IDisposable, IWin32Window,
IKeyboardInputSink
PresentationFramework (1)
src\Framework\System\Windows\Interop\HwndHost.cs (1)
35
public abstract class HwndHost : FrameworkElement, IDisposable, IWin32Window,
IKeyboardInputSink
53 references to IKeyboardInputSink
PresentationCore (24)
Core\CSharp\System\Windows\Interop\HwndSource.cs (21)
744
public IEnumerable<
IKeyboardInputSink
> ChildKeyboardInputSinks
2046
if (!((
IKeyboardInputSink
)this).HasFocusWithin() && !IsInExclusiveMenuMode)
2128
msgdata.handled = ((
IKeyboardInputSink
)this).TranslateChar(ref msgdata.msg, modifierKeys);
2132
msgdata.handled = ((
IKeyboardInputSink
)this).OnMnemonic(ref msgdata.msg, modifierKeys);
2186
protected IKeyboardInputSite RegisterKeyboardInputSinkCore(
IKeyboardInputSink
sink)
2214
IKeyboardInputSite
IKeyboardInputSink
.RegisterKeyboardInputSink(
IKeyboardInputSink
sink)
2251
bool
IKeyboardInputSink
.TranslateAccelerator(ref MSG msg, ModifierKeys modifiers)
2282
bool
IKeyboardInputSink
.TabInto(TraversalRequest request)
2335
IKeyboardInputSite
IKeyboardInputSink
.KeyboardInputSite
2403
return ((
IKeyboardInputSink
)mnemonicScope).OnMnemonic(ref msg, modifiers);
2448
bool
IKeyboardInputSink
.OnMnemonic(ref MSG msg, ModifierKeys modifiers)
2474
IKeyboardInputSink
focusSink = this.ChildSinkWithFocus;
2487
bool
IKeyboardInputSink
.TranslateChar(ref MSG msg, ModifierKeys modifiers)
2517
bool
IKeyboardInputSink
.HasFocusWithin()
2596
IKeyboardInputSink
ChildSinkWithFocus
2600
IKeyboardInputSink
ikis=null;
2676
IKeyboardInputSink
focusSink = ChildSinkWithFocus; // can be null!
2720
IKeyboardInputSink
focusSink = (hasFocus || IsInExclusiveMenuMode) ? null : ChildSinkWithFocus;
2902
IKeyboardInputSite keyboardInputSite = ((
IKeyboardInputSink
)this).KeyboardInputSite;
2906
((
IKeyboardInputSink
)this).KeyboardInputSite = null;
Core\CSharp\System\Windows\Interop\HwndSourceKeyboardInputSite.cs (3)
22
public HwndSourceKeyboardInputSite(HwndSource source,
IKeyboardInputSink
sink)
85
IKeyboardInputSink
IKeyboardInputSite.Sink
114
private
IKeyboardInputSink
_sink;
PresentationFramework (27)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (7)
673
IKeyboardInputSink
sink;
681
sink = (
IKeyboardInputSink
)hwndSource;
691
sink.KeyboardInputSite = new KeyInputSite(new SecurityCriticalData<
IKeyboardInputSink
>(sink));
1221
internal KeyInputSite(SecurityCriticalData<
IKeyboardInputSink
> sink)
1233
_sink = new SecurityCriticalData<
IKeyboardInputSink
>(null);
1239
IKeyboardInputSink
IKeyboardInputSite.Sink
1259
SecurityCriticalData<
IKeyboardInputSink
> _sink;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (4)
1045
IKeyboardInputSink
inputSink = null;
1105
inputSink = nextTab as
IKeyboardInputSink
;
1169
IKeyboardInputSink
inputSink = PresentationSource.CriticalFromVisual(visual) as
IKeyboardInputSink
;
src\Framework\System\Windows\Interop\HwndHost.cs (16)
180
bool handled = ((
IKeyboardInputSink
)this).TranslateAccelerator(ref msg, modifiers);
221
bool handled = ((
IKeyboardInputSink
)this).TranslateAccelerator(ref msg, modifiers);
259
protected virtual IKeyboardInputSite RegisterKeyboardInputSinkCore(
IKeyboardInputSink
sink)
270
IKeyboardInputSite
IKeyboardInputSink
.RegisterKeyboardInputSink(
IKeyboardInputSink
sink)
303
bool
IKeyboardInputSink
.TranslateAccelerator(ref MSG msg, ModifierKeys modifiers)
318
bool
IKeyboardInputSink
.TabInto(TraversalRequest request)
333
IKeyboardInputSite
IKeyboardInputSink
.KeyboardInputSite { get; [SecurityCritical] set; }
362
bool
IKeyboardInputSink
.OnMnemonic(ref MSG msg, ModifierKeys modifiers)
394
bool
IKeyboardInputSink
.TranslateChar(ref MSG msg, ModifierKeys modifiers)
421
bool
IKeyboardInputSink
.HasFocusWithin()
1030
IKeyboardInputSite keyboardInputSite = ((
IKeyboardInputSink
)this).KeyboardInputSite;
1041
((
IKeyboardInputSink
)this).KeyboardInputSite = null;
1055
IKeyboardInputSink
source = PresentationSource.CriticalFromVisual(this, false /* enable2DTo3DTransition */) as
IKeyboardInputSink
;
1065
((
IKeyboardInputSink
)this).KeyboardInputSite = source.RegisterKeyboardInputSink(this);
WindowsBase (2)
Base\System\Windows\Interop\IKeyboardInputSink.cs (1)
33
IKeyboardInputSite RegisterKeyboardInputSink(
IKeyboardInputSink
sink);
Base\System\Windows\Interop\IKeyboardInputSite.cs (1)
32
IKeyboardInputSink
Sink {get;}