Exemplo n.º 1
0
        private static IDisposable ObserveVisiblityMember(IBindingMemberInfo bindingMemberInfo, UIElement uiElement, IEventListener arg3)
        {
#if WINDOWS_UWP
            return(DependencyPropertyBindingMember.ObserveProperty(uiElement, UIElement.VisibilityProperty, arg3));
#else
            return(new DependencyPropertyBindingMember.DependencyPropertyListener(uiElement, UIElement.VisibilityProperty, arg3));
#endif
        }
        private static IDisposable ObserveTextTextBlock(IBindingMemberInfo bindingMemberInfo, TextBlock textBlock, IEventListener arg3)
        {
#if WINDOWS_UWP
            return(DependencyPropertyBindingMember.ObserveProperty(textBlock, TextBlock.TextProperty, arg3));
#else
            return(new DependencyPropertyBindingMember.DependencyPropertyListener(textBlock, "Text", arg3));
#endif
        }
Exemplo n.º 3
0
 private static IDisposable ObserveTextTextBlock(IBindingMemberInfo bindingMemberInfo, TextBlock textBlock, IEventListener arg3)
 {
     return(DependencyPropertyBindingMember.ObserveProperty(textBlock, TextBlock.TextProperty, arg3));
 }