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