UIAutomation.Highlighter.getBorder C# (CSharp) Method

getBorder() private static method

private static getBorder ( Highlighters control ) : int
control Highlighters
return int
        private static int getBorder(Highlighters control)
        {
            int border = Preferences.HighlighterBorder;
            if (control == Highlighters.Parent) {
                border = Preferences.HighlighterBorderParent;
            } 
//            else if (control == Highlighters.FirstChild) {
//                border = Preferences.HighlighterBorderFirstChild;
//            }
            return border;
        }