예제 #1
0
        protected override NativeBinding GetBindingCore(IServiceProvider serviceProvider)
        {
            var binding = new NativeBinding
            {
                Path           = ExpandoPathExtension.CreatePropertyPath(Path),
                RelativeSource = Source
            };

            InitBinding(binding);

            return(binding);
        }
예제 #2
0
        protected override System.Windows.Data.Binding GetBindingCore(IServiceProvider serviceProvider)
        {
            var binding = new System.Windows.Data.Binding
            {
                Path = ExpandoPathExtension.CreatePropertyPath(Path)
            };

            InitBinding(binding);
            InitBindingSource(binding);

            return(binding);
        }