Share via


ItemPolicy.OnActivated Method

Called when a policy is activated.

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

Syntax

'Declaration
Protected MustOverride Sub OnActivated
protected abstract void OnActivated()
protected:
virtual void OnActivated() abstract
abstract OnActivated : unit -> unit 
protected abstract function OnActivated()

Remarks

Policies are activated only when all of their requirements are met.

.NET Framework Security

See Also

Reference

ItemPolicy Class

Microsoft.Windows.Design.Policies Namespace

PrimarySelectionPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility