private static void OnMarkersBatchSizePropertyChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            MarkerGraph m = sender as MarkerGraph;

            m.Children.Clear();
            m.batches.Clear();
            m.StartRenderTask(false);
            m.InvalidateBounds(); // This will cause new measure cycle
        }
Exemple #2
0
        private static void OnMarkerTemplatePropertyChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            MarkerGraph m = sender as MarkerGraph;

            foreach (var b in m.batches)
            {
                b.Panel.Children.Clear();
            }
            m.StartRenderTask(false);
            m.InvalidateBounds();
        }