8 references to DefaultAnchor
System.Windows.Forms (8)
System\Windows\Forms\Control.cs (1)
590
[DefaultValue(CommonProperties.
DefaultAnchor
)]
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
596
[DefaultValue(CommonProperties.
DefaultAnchor
)]
System\Windows\Forms\Layout\CommonProperties.cs (6)
424
(xGetAnchor(element) ==
DefaultAnchor
442
(xGetAnchor(element) !=
DefaultAnchor
539
value = mode == DockAnchorMode.Anchor ? xTranslateAnchorValue(value) :
DefaultAnchor
;
541
Debug.Assert(mode == DockAnchorMode.Anchor || value ==
DefaultAnchor
, "xGetAnchor needs to return DefaultAnchor when docked.");
632
AnchorStyles.None =>
DefaultAnchor
,
633
DefaultAnchor
=> AnchorStyles.None,