Udostępnij za pośrednictwem


PolicyAddedEventArgs.Policy Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the policy that was newly added.

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

Syntax

'Declaration
Public ReadOnly Property Policy As ItemPolicy
    Get
public ItemPolicy Policy { get; }
public:
property ItemPolicy^ Policy {
    ItemPolicy^ get ();
}
member Policy : ItemPolicy
function get Policy () : ItemPolicy

Property Value

Type: Microsoft.Windows.Design.Policies.ItemPolicy
The newly added ItemPolicy.

.NET Framework Security

See Also

Reference

PolicyAddedEventArgs Class

Microsoft.Windows.Design.Policies Namespace

Other Resources

WPF Designer Extensibility