public VisualGrid() { _visualChildren = new VisualCollection(this); _gridLine = new GridLineVisual(this); AddLogicalChild(_gridLine); AddVisualChild(_gridLine); ClipToBounds = true; Focusable = true; }