Пример #1
0
 public static UIElement GetChildAt(UIElementCollection children, Point point)
 {
     return GetChildAt(children.Cast<UIElement>(), point);
 }
Пример #2
0
        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);
            }
        }