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