InternalTypeHelper Class
Collapse the table of content
Expand the table of content

InternalTypeHelper Class


Abstract class used internally by the WPF XAML compiler to support the use of internal types.

Namespace:   System.Windows.Markup
Assembly:  WindowsBase (in WindowsBase.dll)

public abstract class InternalTypeHelper


Initializes a new instance of the InternalTypeHelper class.

System_CAPS_protmethodAddEventHandler(EventInfo, Object, Delegate)

When overridden in a derived (generated) class, attaches an event handler delegate to an internal event.

System_CAPS_protmethodCreateDelegate(Type, Object, String)

When overridden in a derived (generated) class, creates an event delegate referencing a non-public handler method.

System_CAPS_protmethodCreateInstance(Type, CultureInfo)

When overridden in a derived (generated) class, creates an instance of an internal type.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetPropertyValue(PropertyInfo, Object, CultureInfo)

When overridden in a derived (generated) class, gets the value of an internal property on the target object


Gets the Type of the current instance.(Inherited from Object.)


Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodSetPropertyValue(PropertyInfo, Object, Object, CultureInfo)

When overridden in a derived (generated) class, sets the value on an internal property on the target object.


Returns a string that represents the current object.(Inherited from Object.)

The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.

When compiling a XAML file, you can use public types, but you can also use internal types subject to the same limitations that exist on code access to internal types. InternalTypeHelper enables support of internal access level types for markup. This involves the compiler creating a generated class that derives from InternalTypeHelper and implements its members. The generated class exists in a security and access context such that only the same assembly or other assemblies specifically attributed for shared internal access can reference the generated class and thus the internal types.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
© 2015 Microsoft