Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DefaultEventAttribute

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → Attribute → DefaultEventAttribute

Specifies the default event for a component.

Fields and Constants

public static readonly DefaultEventAttribute
Default
Specifies the default value for the <see cref="T:System.ComponentModel.DefaultEventAttribute" /> , which is <see langword="null" /> . This <see langword="static" /> field is read-only.

Properties

public string
Name
Gets the name of the default event for the component this attribute is bound to.
public object
TypeId

Methods

public bool
Equals​(object obj)
Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.DefaultEventAttribute" /> .
Returns <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" /> .
obj The object to test the value equality of.
public int
GetHashCode​()
Returns the hash code for this instance.
Returns A 32-bit signed integer hash code.
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object