Base:
property
AutoSize
System.Windows.Forms.Control.AutoSize
1 override of AutoSize
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
187public override bool AutoSize {
2 writes to AutoSize
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
230toolStrip.AutoSize = false;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
221this.AutoSize = true;
7 references to AutoSize
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2706using(LayoutTransaction.CreateTransactionIf(AutoSize, this, this, PropertyNames.Renderer)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
4807this.autoSize = toolStrip.AutoSize; 4814return (toolStrip.Size == size && toolStrip.LayoutStyle == layoutStyle && toolStrip.AutoSize == autoSize);
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
252preferredSize = (!_wrappedToolStrip.AutoSize) ? _wrappedToolStrip.Size : _wrappedToolStrip.GetPreferredSize(constrainingSize);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
1311int controlToDragWidth = (toolStripToDrag.AutoSize) ? toolStripToDrag.PreferredSize.Width : toolStripToDrag.Width; 1840int controlToDragWidth = (toolStripToDrag.AutoSize) ? toolStripToDrag.PreferredSize.Height : toolStripToDrag.Height;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (1)
399if (toolStrip.AutoSize && (!toolStrip.IsInToolStripPanel && (dock == DockStyle.Left) || (dock == DockStyle.Right))) {