Share via


SelectionPolicy.OnActivated Method

Called when this policy is activated.

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

Syntax

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

Remarks

The OnActivated method is called when tool and selection changes occur.

.NET Framework Security

See Also

Reference

SelectionPolicy Class

Microsoft.Windows.Design.Policies Namespace

ItemPolicy

FeatureProvider

FeatureConnector<TFeatureProviderType>

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility