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