Windows.UI.Xaml.DependencyObject.ClearValue C# (CSharp) Méthode

ClearValue() public méthode

public ClearValue ( [ dp ) : void
dp [
Résultat void
		public extern void ClearValue([In] DependencyProperty dp);
		public extern object ReadLocalValue([In] DependencyProperty dp);

Usage Example

 // Methods
 public static void EnsureBindingUpToDate(DependencyObject target, DependencyProperty dp)
 {
     BindingExpression expression = target.ReadLocalValue(dp) as BindingExpression;
     if (expression != null)
     {
         target.ClearValue(dp);
         target.SetValue(dp, expression);
     }
 }
All Usage Examples Of Windows.UI.Xaml.DependencyObject::ClearValue