Exemplo n.º 1
0
        public static WpfInteractor GetWpfInteractorOrDefault(this FrameworkElement element)
        {
            var wpfInteractor = element.GetWpfInteractor();

            if (null == wpfInteractor)
            {
                wpfInteractor = WpfInteractor.CreateEmpty();
                element.SetWpfInteractor(wpfInteractor);
            }

            return(wpfInteractor);
        }
Exemplo n.º 2
0
 public static void SetWpfInteractor(this FrameworkElement element, WpfInteractor value)
 {
     element.SetValue(WpfInteractorProperty, value);
 }
Exemplo n.º 3
0
 public static void SetWpfInteractor(this FrameworkElement element, WpfInteractor value)
 {
     element.SetValue(WpfInteractorProperty, value);
 }