Bagikan melalui


UsesItemPolicyAttribute.MeetsRequirement Method

Returns a value indicating whether the specified editing context contains the ItemPolicyType associated with this attribute instance.

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

Syntax

'Declaration
Public Overrides Function MeetsRequirement ( _
    context As EditingContext _
) As Boolean
public override bool MeetsRequirement(
    EditingContext context
)
public:
virtual bool MeetsRequirement(
    EditingContext^ context
) override
abstract MeetsRequirement : 
        context:EditingContext -> bool 
override MeetsRequirement : 
        context:EditingContext -> bool 
public override function MeetsRequirement(
    context : EditingContext
) : boolean

Parameters

Return Value

Type: System.Boolean
true if this requirement is met; otherwise, false.

.NET Framework Security

See Also

Reference

UsesItemPolicyAttribute Class

Microsoft.Windows.Design.Policies Namespace

ItemPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility