23 references to None
System.Windows.Forms (22)
winforms\Managed\System\WinForms\Form.cs (2)
1929
Dock = DockStyle.
None
;
4011
if (IsMdiChild && DockStyle.
None
!= Dock){
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (8)
45
internal const DockStyle DefaultDock = DockStyle.
None
;
408
|| (GetAutoSize(element) != DefaultAutoSize && xGetDock(element) == DockStyle.
None
)) == result,
421
Debug.Assert(((xGetDock(element) != DockStyle.
None
) && element.ParticipatesInLayout) == result,
510
Debug.Assert(result == (GetAutoSize(element) && xGetDock(element) == DockStyle.
None
),
526
Debug.Assert(ClientUtils.IsEnumValid(value, (int)value, (int)DockStyle.
None
, (int)DockStyle.Fill), "Illegal value returned form xGetDock.");
560
Debug.Assert(ClientUtils.IsEnumValid(value, (int)value, (int)DockStyle.
None
, (int)DockStyle.Fill), "Illegal value passed to xSetDock.");
565
state[_dockModeSection] = (int) (value == DockStyle.
None
? DockAnchorMode.Anchor : DockAnchorMode.Dock);
571
== (value != DockStyle.
None
), "xSetDock set DockMode incorrectly.");
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (3)
633
SetDock(element, DockStyle.
None
);
670
if (!ClientUtils.IsEnumValid(value, (int)value, (int)DockStyle.
None
, (int)DockStyle.Fill)){
681
if (value == DockStyle.
None
) {
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
241
if (dockStyle != DockStyle.
None
) {
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
229
toolStrip.Dock = DockStyle.
None
;
252
doccomment.Dock = DockStyle.
None
;
263
hotcommands.Dock = DockStyle.
None
;
winforms\Managed\System\WinForms\ToolBar.cs (1)
525
if (!ClientUtils.IsEnumValid(value, (int)value, (int)DockStyle.
None
, (int)DockStyle.Fill)){
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
378
return DockStyle.
None
;
397
DefaultValue(DockStyle.
None
),
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
681
if (!ClientUtils.IsEnumValid(value, (int)value, (int)DockStyle.
None
, (int)DockStyle.Fill)){
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
657
return (owner == null && (Dock != DockStyle.
None
));
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
1450
if (dockStyle == DockStyle.Fill || dockStyle == DockStyle.
None
)