This documentation is archived and is not being maintained.

SubMenuStyle::ICustomTypeDescriptor::GetDefaultEvent Method

For a description of this member, see ICustomTypeDescriptor::GetDefaultEvent().

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

private:
virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent

Return Value

Type: System.ComponentModel::EventDescriptor
An EventDescriptor object that represents the default event for the object, or nullptr if the object has no events.

Implements

ICustomTypeDescriptor::GetDefaultEvent()

This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: