Windows.UI.Xaml.DependencyObject.ReadLocalValue C# (CSharp) Method

ReadLocalValue() public method

public ReadLocalValue ( [ dp ) : object
dp [
return object
		public extern object ReadLocalValue([In] DependencyProperty dp);
		public extern object GetAnimationBaseValue([In] DependencyProperty dp);

Usage Example

 private static void RefreshBinding(DependencyObject target, DependencyProperty property)
 {
     BindingExpression binding = target.ReadLocalValue(property) as BindingExpression;
     if (binding != null && binding.ParentBinding != null)
     {
         BindingOperations.SetBinding(target, property, binding.ParentBinding);
     }
 }
All Usage Examples Of Windows.UI.Xaml.DependencyObject::ReadLocalValue