alielie
2025-03-13 a3ba25607612818c28d421bfa8eb2f92339d71ac
Plugin.TestResult/Util/DpUtil.cs
@@ -30,17 +30,6 @@
        public static readonly DependencyProperty BorderSpaceProperty =
            DependencyProperty.RegisterAttached("BorderSpace", typeof(int), typeof(Grid), new PropertyMetadata(0, OnShowBorderChanged));
        public static string GetInnerBorderIgnore(DependencyObject obj)
        {
            return (string)obj.GetValue(InnerBorderIgnoreProperty);
        }
        public static void SetInnerBorderIgnore(DependencyObject obj, string value)
        {
            obj.SetValue(InnerBorderIgnoreProperty, value);
        }
        public static readonly DependencyProperty InnerBorderIgnoreProperty =
            DependencyProperty.RegisterAttached("InnerBorderIgnore", typeof(string),
                typeof(Grid), new PropertyMetadata("None", OnShowBorderChanged));
        private static void OnShowBorderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
@@ -74,7 +63,7 @@
            int width = 1;
            string baseData = GetInnerBorderIgnore(grid);
            string baseData = "None";
            HashSet<string> data = new HashSet<string>(baseData.Split(','));
            bool ignoreTop = data.Contains("All") || data.Contains("Top"),
                ignoreBottom = data.Contains("All") || data.Contains("Bottom"),
@@ -195,7 +184,7 @@
                int col = i % columnCount;
                var child = grid.Children[i];
                string baseData = GetInnerBorderIgnore(grid);
                string baseData = "None";
                HashSet<string> data = new HashSet<string>(baseData.Split(','));
                bool ignoreTop = data.Contains("All") || data.Contains("Top"),
                    ignoreBottom = data.Contains("All") || data.Contains("Bottom"),