Share via


CreateInstance Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a markup extension used in XAML that enables creation of objects in-place, rather than defining them in resources.

Namespace:  System.Activities.Design
Assembly:  System.Activities.Design (in System.Activities.Design.dll)

Syntax

'Declaration
<MarkupExtensionReturnTypeAttribute(GetType(Object))> _
Public NotInheritable Class CreateInstance _
    Inherits MarkupExtension
'Usage
Dim instance As CreateInstance
[MarkupExtensionReturnTypeAttribute(typeof(Object))]
public sealed class CreateInstance : MarkupExtension
[MarkupExtensionReturnTypeAttribute(typeof(Object))]
public ref class CreateInstance sealed : public MarkupExtension
public final class CreateInstance extends MarkupExtension
[<SealedAttribute>]
[<MarkupExtensionReturnTypeAttribute(typeof(Object))>]
type CreateInstance =  
    class
        inherit MarkupExtension
    end

Inheritance Hierarchy

System.Object
  System.Windows.Markup.MarkupExtension
    System.Activities.Design.CreateInstance

Thread Safety

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

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

CreateInstance Members

System.Activities.Design Namespace