PropertyInvalidatedEventArgs Constructor
Initializes a new instance of the PropertyInvalidatedEventArgs class.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
item As ModelItem, _
property As PropertyIdentifier _
)
public PropertyInvalidatedEventArgs(
ModelItem item,
PropertyIdentifier property
)
public:
PropertyInvalidatedEventArgs(
ModelItem^ item,
PropertyIdentifier property
)
new :
item:ModelItem *
property:PropertyIdentifier -> PropertyInvalidatedEventArgs
public function PropertyInvalidatedEventArgs(
item : ModelItem,
property : PropertyIdentifier
)
Parameters
- item
Type: Microsoft.Windows.Design.Model.ModelItem
The ModelItem associated with the invalidated property.
- property
Type: Microsoft.Windows.Design.Metadata.PropertyIdentifier
The PropertyIdentifier of the property that was invalidated.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item or property 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.