Share via


ItemPolicy.PolicyItemsChanged Event

Occurs when the policy changes.

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

Syntax

'Declaration
Public Event PolicyItemsChanged As EventHandler(Of PolicyItemsChangedEventArgs)
'Usage
Dim instance As ItemPolicy 
Dim handler As EventHandler(Of PolicyItemsChangedEventArgs)

AddHandler instance.PolicyItemsChanged, handler
public event EventHandler<PolicyItemsChangedEventArgs> PolicyItemsChanged
public:
 event EventHandler<PolicyItemsChangedEventArgs^>^ PolicyItemsChanged {
    void add (EventHandler<PolicyItemsChangedEventArgs^>^ value);
    void remove (EventHandler<PolicyItemsChangedEventArgs^>^ value);
}
JScript does not support events.

Remarks

The policy can raise this event itself by calling the OnPolicyItemsChanged method.

.NET Framework Security

See Also

Reference

ItemPolicy Class

ItemPolicy Members

Microsoft.Windows.Design.Policies Namespace

PrimarySelectionPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility