Esporta (0) Stampa
Espandi tutto

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.

Parametri

dp

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:

Aggiunte alla community

AGGIUNGI
Mostra:
© 2014 Microsoft