4 types derived from EventDescriptor
System (1)
compmod\system\componentmodel\ReflectEventDescriptor.cs (1)
69
internal sealed class ReflectEventDescriptor :
EventDescriptor
{
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
991
private class MetadataStoreEventDescriptor :
EventDescriptor
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
991
private class MetadataStoreEventDescriptor :
EventDescriptor
System.Workflow.ComponentModel (1)
AuthoringOM\Design\PropertyDescriptors.cs (1)
950
internal sealed class ReadonlyEventDescriptor :
EventDescriptor
156 references to EventDescriptor
System (87)
compmod\system\componentmodel\CustomTypeDescriptor.cs (1)
110
public virtual
EventDescriptor
GetDefaultEvent()
compmod\system\componentmodel\design\IEventPropertyService.cs (6)
14
/// <para>Provides a set of useful methods for binding <see cref='System.ComponentModel.
EventDescriptor
'/> objects to user code.</para>
24
string CreateUniqueMethodName(IComponent component,
EventDescriptor
e);
30
ICollection GetCompatibleMethods(
EventDescriptor
e);
36
EventDescriptor
GetEvent(PropertyDescriptor property);
48
PropertyDescriptor GetEventProperty(
EventDescriptor
e);
66
bool ShowCode(IComponent component,
EventDescriptor
e);
compmod\system\componentmodel\EventDescriptor.cs (3)
27
/// Initializes a new instance of the <see cref='System.ComponentModel.
EventDescriptor
'/> class with the
37
/// Initializes a new instance of the <see cref='System.ComponentModel.
EventDescriptor
'/> class with the name and attributes in
47
/// Initializes a new instance of the <see cref='System.ComponentModel.
EventDescriptor
'/> class with
compmod\system\componentmodel\EventDescriptorCollection.cs (28)
53
private
EventDescriptor
[] events;
72
public EventDescriptorCollection(
EventDescriptor
[] events) {
75
this.events = new
EventDescriptor
[0];
88
public EventDescriptorCollection(
EventDescriptor
[] events, bool readOnly) : this(events) {
92
private EventDescriptorCollection(
EventDescriptor
[] events, int eventCount, string[] namedSort, IComparer comparer) {
119
public virtual
EventDescriptor
this[int index] {
134
public virtual
EventDescriptor
this[string name] {
143
public int Add(
EventDescriptor
value) {
167
public bool Contains(
EventDescriptor
value) {
181
EventDescriptor
[] newEvents = new
EventDescriptor
[Count];
201
events = new
EventDescriptor
[sizeNeeded];
208
EventDescriptor
[] newEvents = new
EventDescriptor
[newSize];
220
public virtual
EventDescriptor
Find(string name, bool ignoreCase) {
221
EventDescriptor
p = null;
246
public int IndexOf(
EventDescriptor
value) {
253
public void Insert(int index,
EventDescriptor
value) {
269
public void Remove(
EventDescriptor
value) {
373
EventDescriptor
currentEvent = (
EventDescriptor
)eventArrayList[j];
393
events[foundCount++] = (
EventDescriptor
)eventArrayList[i];
456
events[index] = (
EventDescriptor
)value;
462
return Add((
EventDescriptor
)value);
472
return Contains((
EventDescriptor
)value);
477
return IndexOf((
EventDescriptor
)value);
482
Insert(index, (
EventDescriptor
)value);
487
Remove((
EventDescriptor
)value);
compmod\system\componentmodel\IComNativeDescriptorHandler.cs (1)
37
EventDescriptor
GetDefaultEvent(object component);
compmod\system\componentmodel\ICustomTypeDescriptor.cs (1)
50
EventDescriptor
GetDefaultEvent();
compmod\system\componentmodel\ReflectEventDescriptor.cs (1)
113
public ReflectEventDescriptor(Type componentType,
EventDescriptor
oldReflectEventDescriptor, Attribute[] attributes)
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (8)
91
EventDescriptor
realChangedEvent; // <propertyname>Changed event handler on object
92
EventDescriptor
realIPropChangedEvent; // INotifyPropertyChanged.PropertyChanged event handler on object
261
private
EventDescriptor
ChangedEventValue {
285
private
EventDescriptor
IPropChangedEventValue {
555
EventDescriptor
changedEvent = ChangedEventValue;
566
EventDescriptor
iPropChangedEvent = IPropChangedEventValue;
1002
EventDescriptor
changedEvent = ChangedEventValue;
1015
EventDescriptor
iPropChangedEvent = IPropChangedEventValue;
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (15)
310
internal
EventDescriptor
GetDefaultEvent(Type type, object instance)
438
internal
EventDescriptor
GetExtendedDefaultEvent(object instance)
1000
private static
EventDescriptor
[] ReflectGetEvents(Type type)
1013
EventDescriptor
[] events = (
EventDescriptor
[])_eventCache[type];
1021
events = (
EventDescriptor
[])_eventCache[type];
1035
events = new
EventDescriptor
[eventInfos.Length];
1061
EventDescriptor
[] newEvents = new
EventDescriptor
[eventCount];
1690
internal
EventDescriptor
GetDefaultEvent(object instance)
1888
EventDescriptor
[] eventArray;
1889
Dictionary<string,
EventDescriptor
> eventList = new Dictionary<string,
EventDescriptor
>(16);
1895
foreach(
EventDescriptor
ed in eventArray) {
1904
eventArray = new
EventDescriptor
[eventList.Count];
compmod\system\componentmodel\TypeDescriptor.cs (23)
631
public static
EventDescriptor
CreateEvent(Type componentType, string name, Type type, params Attribute[] attributes)
641
public static
EventDescriptor
CreateEvent(Type componentType,
EventDescriptor
oldEventDescriptor, params Attribute[] attributes)
1559
public static
EventDescriptor
GetDefaultEvent(Type componentType)
1573
public static
EventDescriptor
GetDefaultEvent(object component)
1582
public static
EventDescriptor
GetDefaultEvent(object component, bool noCustomTypeDesc)
1753
events = new EventDescriptorCollection((
EventDescriptor
[])filteredEvents.ToArray(typeof(
EventDescriptor
)), true);
1869
EventDescriptor
[] eventArray = new
EventDescriptor
[results.Count];
2465
EventDescriptor
[] eventArray = new
EventDescriptor
[list.Count];
2663
EventDescriptor
[] eventArray = new
EventDescriptor
[list.Count];
2670
throw new ArgumentException(SR.GetString(SR.TypeDescriptorExpectedElementType, typeof(
EventDescriptor
).FullName));
2816
EventDescriptor
[] eventArray = new
EventDescriptor
[list.Count];
3546
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
3769
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
3771
EventDescriptor
evt = _primary.GetDefaultEvent();
4159
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
4475
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
4483
EventDescriptor
defaultEvent;
System.Activities (3)
System\Activities\DynamicActivity.cs (2)
166
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
354
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
System\Activities\DynamicActivityTypeDescriptor.cs (1)
62
public
EventDescriptor
GetDefaultEvent()
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (1)
544
EventDescriptor
e = TypeDescriptor.GetEvents(kv.Key)[kvMember.Key];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (8)
488
EventDescriptor
[] array = new
EventDescriptor
[incoming.Count];
491
EventDescriptor
theirs = incoming[idx];
492
EventDescriptor
ours = (
EventDescriptor
)GetCachedDescriptor(objectType, theirs);
724
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() { return _parent.GetDefaultEvent(); }
994
private
EventDescriptor
_parent;
999
internal MetadataStoreEventDescriptor(Type objectType,
EventDescriptor
parent)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
206
public
EventDescriptor
GetDefaultEvent()
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1226
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
349
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
System.Data (17)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (1)
544
EventDescriptor
e = TypeDescriptor.GetEvents(kv.Key)[kvMember.Key];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (8)
488
EventDescriptor
[] array = new
EventDescriptor
[incoming.Count];
491
EventDescriptor
theirs = incoming[idx];
492
EventDescriptor
ours = (
EventDescriptor
)GetCachedDescriptor(objectType, theirs);
724
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() { return _parent.GetDefaultEvent(); }
994
private
EventDescriptor
_parent;
999
internal MetadataStoreEventDescriptor(Type objectType,
EventDescriptor
parent)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
206
public
EventDescriptor
GetDefaultEvent()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1226
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
349
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
fx\src\data\System\Data\Common\DataRecordInternal.cs (1)
303
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
506
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
fx\src\data\System\Data\Common\dbdatarecord.cs (1)
104
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
fx\src\data\System\Data\DataRowView.cs (1)
275
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
69
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
System.Web (8)
HttpApplication.cs (1)
1898
EventDescriptor
foundEvent = events.Find(eventName, true);
UI\ControlBuilder.cs (1)
1070
EventDescriptor
eventDesc = EventDescriptors.Find(eventName, true);
UI\WebControls\ErrorStyle.cs (1)
39
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
UI\WebControls\ErrorTableItemStyle.cs (1)
37
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
UI\WebControls\SubMenuStyle.cs (1)
246
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
UI\WebControls\XmlDataSourceNodeDescriptor.cs (1)
56
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
UI\WebControls\XmlHierarchyData.cs (1)
145
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
UI\WebParts\WebPartMenuStyle.cs (1)
156
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceWrapper.cs (1)
82
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() { return null; }
System.Web.Mobile (2)
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
1104
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
UI\MobileControls\DeviceSpecificChoice.cs (1)
267
EventDescriptor
ed = TypeDescriptor.GetEvents(parentObject).Find(eventName, true);
System.Windows.Forms (11)
winforms\Managed\System\WinForms\AxHost.cs (1)
2765
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent() {
winforms\Managed\System\WinForms\Binding.cs (2)
40
private
EventDescriptor
validateInfo;
563
EventDescriptor
tempValidateInfo = null;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
374
internal
EventDescriptor
GetDefaultEvent(Object component) {
515
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
winforms\Managed\System\WinForms\Design\EventsTab.cs (1)
87
EventDescriptor
defEvent = TypeDescriptor.GetDefaultEvent(obj);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
291
EventDescriptor
descriptor = eventBindings.GetEvent(mpd[0]);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (4)
57
static
EventDescriptor
targetEventdesc;
568
EventDescriptor
descriptor = eventBindings.GetEvent(propertyInfo);
701
EventDescriptor
eventDesc = null;
871
protected bool ViewEvent(object obj, string newHandler,
EventDescriptor
eventdesc, bool alwaysNavigate) {
System.Workflow.ComponentModel (12)
AuthoringOM\Design\ActivityDesigner.cs (2)
1216
EventDescriptor
eventDesc = eventBindingService.GetEvent(defaultPropEvent.RealPropertyDescriptor);
2102
EventDescriptor
eventDescriptor = eventBindingService.GetEvent(methodDescriptor);
AuthoringOM\Design\ComponentSerializationService.cs (2)
331
else if (this.memberList[loop] is
EventDescriptor
)
337
PropertySegment propertySegment = new PropertySegment(serviceProvider, obj, eventBindingService.GetEventProperty(this.memberList[loop] as
EventDescriptor
));
AuthoringOM\Design\PropertyDescriptors.cs (7)
223
foreach (
EventDescriptor
eventDesc in TypeDescriptor.GetEvents(eventOwner))
360
EventDescriptor
eventDescriptor = eventBindingService.GetEvent(RealPropertyDescriptor);
842
foreach (
EventDescriptor
e in events)
851
return new EventDescriptorCollection((
EventDescriptor
[])readonlyEvents.ToArray(typeof(
EventDescriptor
)));
952
private
EventDescriptor
realEventDescriptor;
954
internal ReadonlyEventDescriptor(
EventDescriptor
e)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
145
foreach (
EventDescriptor
eventDesc in TypeDescriptor.GetEvents(dependencyObject))
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
568
EventDescriptor
ICustomTypeDescriptor.GetDefaultEvent()
WindowsBase (2)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (1)
209
public
EventDescriptor
GetDefaultEvent() { return _parent.GetDefaultEvent(); }
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (1)
230
public
EventDescriptor
GetDefaultEvent() { return _parent.GetDefaultEvent(); }