DesignModeValueProvider.InvalidateProperty Method
Invalidates the specified property.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Sub InvalidateProperty ( _
item As ModelItem, _
property As PropertyIdentifier _
)
protected void InvalidateProperty(
ModelItem item,
PropertyIdentifier property
)
protected:
void InvalidateProperty(
ModelItem^ item,
PropertyIdentifier property
)
member InvalidateProperty :
item:ModelItem *
property:PropertyIdentifier -> unit
protected function InvalidateProperty(
item : ModelItem,
property : PropertyIdentifier
)
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The ModelItem to invalidate property changes for.
- property
Type: Microsoft.Windows.Design.Metadata.PropertyIdentifier
The property that is to be invalidated.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item is nulla null reference (Nothing in Visual Basic). |
.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.