41 references to layout
System.Windows.Forms (41)
winforms\Managed\System\WinForms\DataGridParentRows.cs (41)
149ret.X = layout.leftArrow.IsEmpty ? layout.data.X : layout.leftArrow.Right; 152ret.Width = layout.data.Width; 413InvalidateRect(layout.leftArrow); 426InvalidateRect(layout.rightArrow); 434if (layout.rightArrow.IsEmpty) { 435Debug.Assert(layout.leftArrow.IsEmpty, "we can't have the leftArrow w/o the rightArrow"); 441if (layout.rightArrow.Contains(x,y)) { 452else if (layout.leftArrow.Contains(x,y)) { 465InvalidateRect(layout.leftArrow); 470InvalidateRect(layout.rightArrow); 479InvalidateRect(layout.leftArrow); 484InvalidateRect(layout.rightArrow); 509InvalidateRect(layout.leftArrow); 514InvalidateRect(layout.rightArrow); 520if (!layout.rightArrow.IsEmpty && layout.rightArrow.Contains(x,y)) 522InvalidateRect(layout.rightArrow); 525if (!layout.leftArrow.IsEmpty && layout.leftArrow.Contains(x,y)) 527InvalidateRect(layout.leftArrow); 664layout.leftArrow = new Rectangle(bounds.X, bounds.Y, 15, bounds.Height); 665layout.data = new Rectangle(layout.leftArrow.Right, bounds.Y, bounds.Width - 30, bounds.Height); 666layout.rightArrow = new Rectangle(layout.data.Right, bounds.Y, 15, bounds.Height); 669layout.data = bounds; 670layout.leftArrow = Rectangle.Empty; 671layout.rightArrow = Rectangle.Empty; 708if (!layout.leftArrow.IsEmpty) 710g.FillRectangle(BackBrush, layout.leftArrow); 711PaintLeftArrow(g, layout.leftArrow, alignToRight); 716Rectangle rowBounds = layout.data; 732if (!layout.rightArrow.IsEmpty) 734g.FillRectangle(BackBrush, layout.rightArrow); 735PaintRightArrow(g, layout.rightArrow, alignToRight); 818layout.leftArrow.Inflate(-1,-1); 822layout.leftArrow.Inflate(1,1); 847layout.rightArrow.Inflate(-1,-1); 851layout.rightArrow.Inflate(1,1);