Share via


CreationToolAttribute Constructor

Initializes a new instance of the CreationToolAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    toolType As Type _
)
public CreationToolAttribute(
    Type toolType
)
public:
CreationToolAttribute(
    Type^ toolType
)
new : 
        toolType:Type -> CreationToolAttribute
public function CreationToolAttribute(
    toolType : Type
)

Parameters

  • toolType
    Type: System.Type
    The type of tool this attribute describes. You can specify nulla null reference (Nothing in Visual Basic) to prevent a CreationTool base class from surfacing.

Exceptions

Exception Condition
ArgumentException

toolType does not derive from CreationTool.

.NET Framework Security

See Also

Reference

CreationToolAttribute Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility