Questa documentazione è stata archiviata e non viene gestita.

Metodo DependencyObject.InvalidateProperty

Re-evaluates the effective value for the specified dependency property

Spazio dei nomi: System.Windows
Assembly: WindowsBase (in windowsbase.dll)

public void InvalidateProperty (
	DependencyProperty dp
public void InvalidateProperty (
	DependencyProperty dp
public function InvalidateProperty (
	dp : DependencyProperty
Non è possibile utilizzare metodi in XAML.



The DependencyProperty identifier of the property to invalidate.

When you call InvalidateProperty, any associated and applicable CoerceValueCallback or PropertyChangedCallback functions registered for that dependency property might be invoked.

Calling InvalidateProperty on a property that has its local value set will have no effect, because the local value takes precedence over other property system inputs, except for animations. However, you could call ClearValue, then call InvalidateProperty. For more information, see Dependency Property Value Precedence.

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in: