DrawingVisual for grid's line
상속: System.Windows.Media.DrawingVisual
예제 #1
0
        public VisualGrid() {
            _visualChildren = new VisualCollection(this);

            _gridLine = new GridLineVisual(this);
            AddLogicalChild(_gridLine);
            AddVisualChild(_gridLine);

            ClipToBounds = true;
            Focusable = true;
        }
예제 #2
0
        public VisualGrid()
        {
            _visualChildren = new VisualCollection(this);

            _gridLine = new GridLineVisual(this);
            AddLogicalChild(_gridLine);
            AddVisualChild(_gridLine);

            ClipToBounds = true;
            Focusable    = true;
        }