Ejemplo n.º 1
0
        private static void HandleEnableFilterOnVCasSMLStringPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            IVIView me = d as IVIView;

            if (me != null)
            {
                me.InnerUpdateFilterString(me.FilterString, (bool)e.NewValue);
                CollectionViewSource.GetDefaultView(me.listView.ItemsSource).Refresh();
            }
        }
Ejemplo n.º 2
0
        private static void HandleSetNamePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            IVIView me = d as IVIView;

            if (me != null)
            {
                me._ivaName = ((string)e.NewValue).MapNullToEmpty();
                me.Service(forceRebuild: true);
            }
        }
Ejemplo n.º 3
0
        private static void HandlePausePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            IVIView me = d as IVIView;

            if (me != null)
            {
                bool newPaused = (bool)e.NewValue;

                me._isPaused = newPaused;
                if (!me._isPaused)
                {
                    me.Service();
                }
            }
        }