16 references to DockAnchorMode
System.Windows.Forms (16)
System\Windows\Forms\Layout\CommonProperties.cs (16)
444
bool result = (state[s_dockAndAnchorNeedsLayoutSection] != 0) && (state[s_dockModeSection] == (int)
DockAnchorMode
.Anchor);
461
bool result = state[s_dockModeSection] == (int)
DockAnchorMode
.Dock && element.ParticipatesInLayout;
541
DockAnchorMode
mode = (
DockAnchorMode
)state[s_dockModeSection];
544
value = mode ==
DockAnchorMode
.Anchor ? xTranslateAnchorValue(value) : DefaultAnchor;
546
Debug.Assert(mode ==
DockAnchorMode
.Anchor || value == DefaultAnchor, "xGetAnchor needs to return DefaultAnchor when docked.");
563
bool result = (state[s_autoSizeSection] != 0) && (state[s_dockModeSection] == (int)
DockAnchorMode
.Anchor);
577
DockAnchorMode
mode = (
DockAnchorMode
)state[s_dockModeSection];
580
value = mode ==
DockAnchorMode
.Dock ? value : DefaultDock;
583
Debug.Assert(mode ==
DockAnchorMode
.Dock || value == DefaultDock,
600
state[s_dockModeSection] = (int)
DockAnchorMode
.Anchor;
604
Debug.Assert(GetLayoutState(element)[s_dockModeSection] == (int)
DockAnchorMode
.Anchor,
619
state[s_dockModeSection] = (int)(value == DockStyle.None ?
DockAnchorMode
.Anchor :
DockAnchorMode
.Dock);
624
Debug.Assert((GetLayoutState(element)[s_dockModeSection] == (int)
DockAnchorMode
.Dock)