16 references to DockAnchorMode
System.Windows.Forms (16)
System\Windows\Forms\Layout\CommonProperties.cs (16)
439
bool result = (state[s_dockAndAnchorNeedsLayoutSection] != 0) && (state[s_dockModeSection] == (int)
DockAnchorMode
.Anchor);
456
bool result = state[s_dockModeSection] == (int)
DockAnchorMode
.Dock && element.ParticipatesInLayout;
536
DockAnchorMode
mode = (
DockAnchorMode
)state[s_dockModeSection];
539
value = mode ==
DockAnchorMode
.Anchor ? xTranslateAnchorValue(value) : DefaultAnchor;
541
Debug.Assert(mode ==
DockAnchorMode
.Anchor || value == DefaultAnchor, "xGetAnchor needs to return DefaultAnchor when docked.");
558
bool result = (state[s_autoSizeSection] != 0) && (state[s_dockModeSection] == (int)
DockAnchorMode
.Anchor);
572
DockAnchorMode
mode = (
DockAnchorMode
)state[s_dockModeSection];
575
value = mode ==
DockAnchorMode
.Dock ? value : DefaultDock;
578
Debug.Assert(mode ==
DockAnchorMode
.Dock || value == DefaultDock,
595
state[s_dockModeSection] = (int)
DockAnchorMode
.Anchor;
599
Debug.Assert(GetLayoutState(element)[s_dockModeSection] == (int)
DockAnchorMode
.Anchor,
614
state[s_dockModeSection] = (int)(value == DockStyle.None ?
DockAnchorMode
.Anchor :
DockAnchorMode
.Dock);
619
Debug.Assert((GetLayoutState(element)[s_dockModeSection] == (int)
DockAnchorMode
.Dock)