1 write to toolStrip
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
217toolStrip = AccessibilityImprovements.Level3 ? new PropertyGridToolStrip(this) : new ToolStrip();
68 references to toolStrip
System.Windows.Forms (68)
winforms\Managed\System\WinForms\PropertyGrid.cs (68)
218toolStrip.SuspendLayout(); 219toolStrip.ShowItemToolTips = true; 220toolStrip.AccessibleName = SR.GetString(SR.PropertyGridToolbarAccessibleName); 221toolStrip.AccessibleRole = AccessibleRole.ToolBar; 222toolStrip.TabStop = true; 223toolStrip.AllowMerge = false; 226toolStrip.Text = "PropertyGridToolBar"; 229toolStrip.Dock = DockStyle.None; 230toolStrip.AutoSize = false; 231toolStrip.TabIndex = 1; 232toolStrip.ImageScalingSize = normalButtonSize; 235toolStrip.CanOverflow = false; 239toolStrip.GripStyle = ToolStripGripStyle.Hidden; 240Padding toolStripPadding = toolStrip.Padding; 242toolStrip.Padding = toolStripPadding; 269Controls.AddRange(new Control[] { doccomment, hotcommands, gridView, toolStrip }); 272toolStrip.ResumeLayout(false); // SetupToolbar should perform the layout 377toolStrip.BackColor = value; 378toolStrip.Invalidate(true); 1523toolStrip.ImageScalingSize = this.imageList[LARGE_BUTTONS].ImageSize; 1528toolStrip.ImageScalingSize = this.imageList[NORMAL_BUTTONS].ImageSize; 1532toolStrip.ImageList = imageList[this.buttonType]; 1535toolStrip.Invalidate(); 1544return toolStrip.AccessibilityObject; 1564toolStrip.Visible = value; 1570toolStrip.Invalidate(); 1578if (toolStrip != null) { 1579return toolStrip.Renderer; 1584if (toolStrip != null) { 1585toolStrip.Renderer = value; 2614return toolStrip; 2985if (!toolStrip.Visible && !doccomment.Visible && !hotcommands.Visible) { 2991if (toolStrip.Visible) { 2996toolStrip.Bounds = toolStripBounds; 2999gridView.Location = new Point(0, toolStrip.Height + toolStrip.Top); 3755if (toolStrip.Visible) { 3756toolStrip.FocusInternal(); 3759if (toolStrip.Items.Count > 0) { 3760toolStrip.SelectNextToolStripItem(null, /*forward =*/ true); 3772if (toolStrip.Focused || !toolStrip.Visible) { 3784else if (toolStrip.Visible) { 3785toolStrip.FocusInternal(); 3799if (toolStrip.Focused) { 3824if (toolStrip.Visible) { 3825toolStrip.FocusInternal(); 4397buttonList = new ArrayList(toolStrip.Items); 4510toolStrip.ImageList = imageList[this.buttonType]; 4512toolStrip.SuspendLayout(); 4513toolStrip.Items.Clear(); 4515toolStrip.Items.Add(buttonList[j] as ToolStripItem); 4517toolStrip.ResumeLayout(); 4793return toolStrip.Visible && toolStrip.Focused; 4796return gridView.ContainsFocus && toolStrip.Visible; 4915if (toolStrip != null) { 4916m.Result = (IntPtr)toolStrip.Items.Count; 4921if (toolStrip != null) { 4923if( index >= 0 && index < toolStrip.Items.Count ) { 4924ToolStripButton button = toolStrip.Items[index] as ToolStripButton; 4936if (toolStrip != null) { 4938if( index >= 0 && index < toolStrip.Items.Count ) { 4939ToolStripButton button = toolStrip.Items[index] as ToolStripButton; 4966if (toolStrip != null) { 4968if( index >= 0 && index < toolStrip.Items.Count ) { 4971text = toolStrip.Items[index].Text; 4974text = toolStrip.Items[index].ToolTipText;