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