1 implementation of GetEventProperty
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.cs (1)
197PropertyDescriptor IEventBindingService.GetEventProperty(EventDescriptor e)
39 references to GetEventProperty
System.Windows.Forms (1)
System\Windows\Forms\Design\EventsTab.cs (1)
43? eventPropertyService.GetEventProperty(defaultEvent)
System.Windows.Forms.Design (6)
System\ComponentModel\Design\ComponentDesigner.cs (1)
279PropertyDescriptor? defaultPropEvent = ebs.GetEventProperty(defaultEvent);
System\ComponentModel\Design\EventBindingService.cs (1)
233PropertyDescriptor prop = ((IEventBindingService)this).GetEventProperty(e);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
501PropertyDescriptor prop = evtSvc.GetEventProperty(evt); 1236PropertyDescriptor prop = evtSvc.GetEventProperty(evt);
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (1)
42PropertyDescriptor prop = eventBindings.GetEventProperty(eventToSerialize);
System\Windows\Forms\Design\ComponentTray.cs (1)
2476defaultPropEvent = eps.GetEventProperty(defaultEvent);
System.Windows.Forms.Design.Tests (30)
System\ComponentModel\Design\ComponentDesignerTests.cs (30)
780.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 845mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(3)); 866mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(6)); 893.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 960mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 973mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1004.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1073mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(3)); 1097mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(6)); 1120.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1179mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1190mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1213.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1272mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1283mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1304.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1362mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1373mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1394.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1457mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1470mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1501.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1564mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1577mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1603.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1661mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1671mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2)); 1884.Setup(s => s.GetEventProperty(It.IsAny<EventDescriptor>())) 1933mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Once()); 1945mockEventBindingService.Verify(s => s.GetEventProperty(It.IsAny<EventDescriptor>()), Times.Exactly(2));
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\EventsTabTests.cs (2)
68.Setup(e => e.GetEventProperty(TypeDescriptor.GetDefaultEvent(typeof(ClassWithDefaultEvent)))) 104.Setup(e => e.GetEventProperty(TypeDescriptor.GetDefaultEvent(typeof(ClassWithDefaultEvent))))