11 references to UpScrollButton
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (11)
139rect.Y += UpScrollButton.Height + UpScrollButton.Margin.Vertical; 140rect.Height -= UpScrollButton.Height + UpScrollButton.Margin.Vertical + DownScrollButton.Height + DownScrollButton.Margin.Vertical; 764this.DisplayedItems.Add(UpScrollButton); 767UpScrollButton.Visible = true; 771UpScrollButton.Visible = false; 779Size upSize = UpScrollButton.GetPreferredSize(Size.Empty); 783UpScrollButton.SetBounds(new Rectangle(upLocation, upSize)); 803if (UpScrollButton == item) { 822UpScrollButton.Enabled = !displayRectangle.Contains(displayRectangle.X, minY);