示例#1
0
        private static void OnDependencyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            UniformBoard panel = d as UniformBoard;

            if (panel != null)
            {
                RefreshPanel(panel);
            }
        }
示例#2
0
        private static void OnAttachedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            UniformBoard panel = VisualTreeHelperUtil.GetParent(d, (parent) => parent is UniformBoard) as UniformBoard;

            if (panel != null)
            {
                RefreshPanel(panel);
            }
        }