16 references to DockAnchorMode
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (16)
404
bool result = (state[_dockAndAnchorNeedsLayoutSection] != 0) && (state[_dockModeSection] == (int)
DockAnchorMode
.Anchor);
419
bool result = state[_dockModeSection] == (int)
DockAnchorMode
.Dock && element.ParticipatesInLayout;
491
DockAnchorMode
mode = (
DockAnchorMode
) state[_dockModeSection];
494
value = mode ==
DockAnchorMode
.Anchor ? xTranslateAnchorValue(value) : DefaultAnchor;
496
Debug.Assert(mode ==
DockAnchorMode
.Anchor || value == DefaultAnchor, "xGetAnchor needs to return DefaultAnchor when docked.");
509
bool result = (state[_autoSizeSection] != 0) && (state[_dockModeSection] == (int)
DockAnchorMode
.Anchor);
522
DockAnchorMode
mode = (
DockAnchorMode
) state[_dockModeSection];
525
value = mode ==
DockAnchorMode
.Dock ? value : DefaultDock;
528
Debug.Assert(mode ==
DockAnchorMode
.Dock || value == DefaultDock,
546
state[_dockModeSection] = (int)
DockAnchorMode
.Anchor;
551
Debug.Assert(GetLayoutState(element)[_dockModeSection] == (int)
DockAnchorMode
.Anchor,
565
state[_dockModeSection] = (int) (value == DockStyle.None ?
DockAnchorMode
.Anchor :
DockAnchorMode
.Dock);
570
Debug.Assert((GetLayoutState(element)[_dockModeSection] == (int)
DockAnchorMode
.Dock)