22 references to None
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1341
bool imageEdge = (AnchorStyles)(ImageAlignToRelation(imageAlign) & textImageRelation) != AnchorStyles.
None
;
1345
bool textEdge = (AnchorStyles)(TextAlignToRelation(textAlign) & textImageRelation) != AnchorStyles.
None
;
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (2)
582
case AnchorStyles.
None
:
585
return AnchorStyles.
None
;
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (4)
102
if((anchor & AnchorStyles.Right) != AnchorStyles.
None
103
&& (anchor & AnchorStyles.Left) == AnchorStyles.
None
) {
111
if((anchor & AnchorStyles.Bottom) != AnchorStyles.
None
112
&& (anchor & AnchorStyles.Top) == AnchorStyles.
None
) {
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
544
return AnchorStyles.
None
;
616
return AnchorStyles.
None
;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (5)
160
AnchorStyles result = AnchorStyles.
None
;
161
if (anchor == AnchorStyles.
None
){
169
case AnchorStyles.
None
:
263
else if (anchorStyles == AnchorStyles.
None
|| (anchorStyles & HorizontalAnchorStyles) == 0) {
287
else if (anchorStyles == AnchorStyles.
None
|| (anchorStyles & VerticalAnchorStyles) == 0) {
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (2)
273
label1.Anchor = AnchorStyles.
None
;
280
button1.Anchor = AnchorStyles.
None
;
winforms\Managed\System\WinForms\Splitter.cs (2)
82
DefaultValue(AnchorStyles.
None
)]
85
return AnchorStyles.
None
;
winforms\Managed\System\WinForms\TextImageRelation.cs (1)
13
Overlay = AnchorStyles.
None
,
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (2)
367
Rectangle bounds = LayoutUtils.VAlign(item.Size, displayRectangle, AnchorStyles.
None
);
492
Rectangle bounds = LayoutUtils.HAlign(item.Size, displayRectangle, AnchorStyles.
None
);