WebPartMenuStyle.ICustomTypeDescriptor.GetDefaultEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default event for this instance of a component. This method implements the GetDefaultEvent() method.
virtual System::ComponentModel::EventDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultEvent;
System.ComponentModel.EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
Function GetDefaultEvent () As EventDescriptor Implements ICustomTypeDescriptor.GetDefaultEvent
Returns
An EventDescriptor that represents the default event for this object, or null
if the object has no events.
Implements
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.