Share via


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetDefaultEvent Method

Returns the default event for this instance of a component.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Private Function GetDefaultEvent As EventDescriptor
    Implements ICustomTypeDescriptor.GetDefaultEvent
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()
private:
virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent
private abstract GetDefaultEvent : unit -> EventDescriptor 
private override GetDefaultEvent : unit -> EventDescriptor 
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.EventDescriptor
Default event of parent shape.

Implements

ICustomTypeDescriptor.GetDefaultEvent()

.NET Framework Security

See Also

Reference

MoveableDecoratorHostShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace