EventIdentifier.DeclaringType Property

Gets the type that declares this event, if it was set in the constructor.

Namespace:  Microsoft.Windows.Design.Metadata
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public ReadOnly Property DeclaringType As Type
    Get
public Type DeclaringType { get; }
public:
property Type^ DeclaringType {
    Type^ get ();
}
member DeclaringType : Type
function get DeclaringType () : Type

Property Value

Type: System.Type
A type that declares the event, or nulla null reference (Nothing in Visual Basic) if the event identifier was created by using a TypeIdentifier.

.NET Framework Security

See Also

Reference

EventIdentifier Structure

Microsoft.Windows.Design.Metadata Namespace