Exemple #1
0
        private static void RowCountPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BeePanel panel = (d as BeePanel);

            panel._isInitialized = false;
            panel.InvalidateArrange();
        }
Exemple #2
0
        private static void SideLengthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            BeePanel panel = (d as BeePanel);

            if (panel.SideLength < 0.0)
            {
                throw new ArgumentException("SideLength < 0.0");
            }
            panel._isInitialized = false;
            panel.InvalidateArrange();
        }