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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Policies Namespace