Bagikan melalui


UsesItemPolicyAttribute Constructor

Initializes a new instance of the UsesItemPolicyAttribute class.

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

Syntax

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

Parameters

  • itemPolicyType
    Type: System.Type
    The type of policy this extension can be associated with.

Exceptions

Exception Condition
ArgumentNullException

itemPolicyType is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

UsesItemPolicyAttribute Class

Microsoft.Windows.Design.Policies Namespace

ItemPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility