3 writes to Data
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGrid.cs (3)
5449newLayout.Data = insideLeft; 5737newLayout.Data = new Rectangle(); 9264this.Data = src.Data;
76 references to Data
System.Windows.Forms (76)
winforms\Managed\System\WinForms\DataGrid.cs (76)
1811Invalidate(layout.Data); 1865Invalidate(layout.Data); 2250int widthNotVisible = totalWidth - layout.Data.Width; 2259Rectangle scroll = layout.Data; 2360Invalidate(layout.Data); 3149Invalidate(layout.Data); 3153Invalidate(layout.Data); 3175Invalidate(layout.Data); 3178Invalidate(layout.Data); 4065if (layout.Data.Contains(e.X, e.Y) || layout.RowHeaders.Contains(e.X, e.Y)) { 4244if ((layout.Data.Contains(e.X, e.Y) 4422Rectangle gridRect = layout.Data; 4702Rectangle inside = layout.Data; 4710Rectangle inside = layout.Data; 4808int visibleWidth = layout.Data.Width; 4840Invalidate(Rectangle.Union(layout.Data, layout.ColumnHeaders)); 4845Rectangle rightArea = layout.Data; 4889Rectangle clip = Rectangle.Union(layout.ColumnHeaders, layout.Data); 4892clip.Width = GetColBeg(col) - layout.Data.X - 2; 4898clip.Width = layout.Data.X + layout.Data.Width - leftEdge - 2; 4932int x = rightToLeft ? Math.Max(e.X, layout.Data.X) : Math.Min(e.X, layout.Data.Right + 1); 4958int visibleWidth = this.layout.Data.Width; 4988Invalidate(Rectangle.Union(this.layout.Data, this.layout.ColumnHeaders)); 4991Rectangle rightArea = Rectangle.Union(layout.ColumnHeaders, layout.Data); 4994rightArea.X = rightToLeft ? layout.Data.X : left; 5073Rectangle rightArea = layout.Data; 5100Rectangle clip = Rectangle.Union(layout.RowHeaders, layout.Data); 5103clip.Height = layout.Data.Y + layout.Data.Height - topEdge - 2; 5135int y = Math.Min(e.Y, layout.Data.Y + layout.Data.Height + 1); 5147Rectangle rightArea = Rectangle.Union(layout.RowHeaders, layout.Data); 5281int dataLogicalBottom = layout.Data.Height + firstVisibleRowLogicalTop; 5515int visibleWidth = layout.Data.Width; 5561Invalidate(layout.Data); 5639Rectangle data = layout.Data; 5764int cy = layout.Data.Y; 5765int cx = layout.Data.X; 5771rowExclude.X = MirrorRectangle(rowExclude, layout.Data, alignToRight); 6195Rectangle inside = layout.Data; 6224int offset = layout.Data.X - negOffset; 6233return MirrorPoint(offset, layout.Data, isRightToLeft()); 6284Rectangle inside = layout.Data; 6315Rectangle inside = layout.Data; 6343int offset = layout.Data.Y; 6431cellBounds.X += layout.Data.X - negOffset; 6432cellBounds.X = MirrorRectangle(cellBounds, layout.Data, isRightToLeft()); 6450rowBounds.X = layout.Data.X; 6452rowBounds.Width = layout.Data.Width; 6465int topOfData = layout.Data.Y; 6514if (layout.Data.Contains(x,y)) { 6600columnArea.Height = layout.Data.Height; 6602columnArea.Y = layout.Data.Y; 6604int x = layout.Data.X - negOffset; 6612columnArea.X = MirrorRectangle(columnArea, layout.Data, isRightToLeft()); 6751if (totalWidth > layout.Data.Width && !needHorizScrollbar) { 6753layout.Data.Height -= horizHeight; 6764layout.Data.Width -= vertWidth; 6779if (needVertScrollbar && totalWidth > layout.Data.Width && !needHorizScrollbar) { 6782layout.Data.Height -= horizHeight; 6793layout.Data.Width -= vertWidth; 6807Rectangle data = layout.Data; 6818int widthNotVisible = totalWidth - layout.Data.Width; 6827layout.Data.Bottom, 6838int vertScrollBarTop = layout.Data.Y; 6844vertScrollBar.Bounds = new Rectangle(alignToRight ? layout.Data.X : layout.Data.Right, 6847layout.Data.Height + layout.ColumnHeaders.Height); 6851layout.Data.X += vertScrollBar.Width; 7084Point origin = new Point(0, layout.Data.Y); 8625Rectangle rowsRect = layout.Data; 8847Rectangle underParentRows = layout.Data; 9264this.Data = src.Data; 9292sb.Append(Data.ToString());