public static UIElement GetChildAt(UIElementCollection children, Point point) { return GetChildAt(children.Cast<UIElement>(), point); }
private void SetHexProperties(UIElementCollection hexes, double cellSize) { int charIndex = 0; List<Polygon> hexList = hexes.Cast<Polygon>().ToList(); foreach (Polygon element in hexList) { SetHexProperties(element, _permutedChars[charIndex++], cellSize); } }