Exemple #1
0
        public static void OnControlPanelPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
        {
            FrameworkElement layoutRoot = dependencyObject as FrameworkElement;
            FrameworkElement panel      = e.NewValue as FrameworkElement;

            if (layoutRoot != null && panel != null)
            {
                ConfigurationPanelBehavior behavior = new ConfigurationPanelBehavior(layoutRoot, panel);
            }
        }
        public static void OnControlPanelPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
        {
            FrameworkElement layoutRoot = dependencyObject as FrameworkElement;
            FrameworkElement panel = e.NewValue as FrameworkElement;

            if (layoutRoot != null && panel != null)
            {
                ConfigurationPanelBehavior behavior = new ConfigurationPanelBehavior(layoutRoot, panel);
            }
        }