Share via


CreationToolAttribute Class

Identifies the creation tool that should be used to create an instance of a specified type.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class CreationToolAttribute _
    Inherits Attribute
'Usage
Dim instance As CreationToolAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class CreationToolAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)]
public ref class CreationToolAttribute sealed : public Attribute
public final class CreationToolAttribute extends Attribute

Remarks

You can use this attribute to decorate a class to identify the creation tool that should be used to create an instance of that type. You can specify the CreationTool that should be used in the constructor for this class. You can also indicate nulla null reference (Nothing in Visual Basic) if you want the default CreationTool to be suppressed.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Windows.Design.Interaction.CreationToolAttribute

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.

See Also

Reference

CreationToolAttribute Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility