SecondarySelectionPolicy.IsInPolicy-Methode

Ruft einen Wert ab, der angibt, ob das festgelegte Element sich in der Auswahl befindet und nicht die primäre Auswahl ist.

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

Syntax

'Declaration
Protected Overrides Function IsInPolicy ( _
    selection As Selection, _
    item As ModelItem _
) As Boolean
protected override bool IsInPolicy(
    Selection selection,
    ModelItem item
)
protected:
virtual bool IsInPolicy(
    Selection^ selection, 
    ModelItem^ item
) override
abstract IsInPolicy : 
        selection:Selection * 
        item:ModelItem -> bool 
override IsInPolicy : 
        selection:Selection * 
        item:ModelItem -> bool 
protected override function IsInPolicy(
    selection : Selection, 
    item : ModelItem
) : boolean

Parameter

Rückgabewert

Typ: System.Boolean
true, wenn item nicht die primäre Auswahl ist, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

SecondarySelectionPolicy Klasse

Microsoft.Windows.Design.Policies-Namespace

PrimarySelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Weitere Ressourcen

Featureanbieter und Featureverbindungen

WPF-Designer-Erweiterbarkeit