1 interface inheriting from IMessageFilter
System.Windows.Forms (1)
System\Windows\Forms\IMessageModifyAndFilter.cs (1)
8
internal interface IMessageModifyAndFilter :
IMessageFilter
4 implementations of IMessageFilter
System.Windows.Forms (3)
System\Windows\Forms\Controls\Splitter\Splitter.SplitterMessageFilter.cs (1)
8
private class SplitterMessageFilter :
IMessageFilter
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
8
internal sealed class RestoreFocusMessageFilter :
IMessageFilter
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerMessageFilter.cs (1)
8
private class SplitContainerMessageFilter :
IMessageFilter
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
244
internal class ModelessWindowFilter : SWF.
IMessageFilter
12 references to IMessageFilter
System.Windows.Forms (8)
System\Windows\Forms\Application.cs (2)
765
public static void AddMessageFilter(
IMessageFilter
? value)
1252
public static void RemoveMessageFilter(
IMessageFilter
value)
System\Windows\Forms\Application.ThreadContext.cs (5)
44
private List<
IMessageFilter
>? _messageFilters;
45
private List<
IMessageFilter
>? _messageFilterSnapshot;
208
internal void AddMessageFilter(
IMessageFilter
? filter)
678
internal void RemoveMessageFilter(
IMessageFilter
f)
879
IMessageFilter
filter;
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerMessageFilter.cs (1)
17
bool
IMessageFilter
.PreFilterMessage(ref Message m)
System.Windows.Forms.Tests (4)
ThreadContextTests.cs (4)
33
Mock<
IMessageFilter
> mockContext = new(MockBehavior.Strict);
53
Mock<
IMessageFilter
> mockContext = new(MockBehavior.Strict);
73
Mock<
IMessageFilter
> mockContext2 = new(MockBehavior.Strict);
79
Mock<
IMessageFilter
> mockContext3 = new(MockBehavior.Strict);