10 implementations of IArrangedElement
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Application.cs (1)
4089internal sealed class ParkingWindow : ContainerControl, IArrangedElement {
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
14internal abstract class ArrangedElement : Component, IArrangedElement {
winforms\Managed\System\WinForms\Control.cs (1)
86IArrangedElement,
winforms\Managed\System\WinForms\Control.Ime.cs (1)
64IArrangedElement,
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
37public class ScrollableControl : Control, IArrangedElement {
winforms\Managed\System\WinForms\ToolStrip.cs (1)
46IArrangedElement,
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
39IArrangedElement,
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
26public class ToolStripOverflow : ToolStripDropDown, IArrangedElement {
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
30public class ToolStripPanel : ContainerControl, IArrangedElement {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
21public class ToolStripPanelRow : Component, IArrangedElement {
254 references to IArrangedElement
System.Windows.Forms (254)
winforms\Managed\System\WinForms\Application.cs (2)
4204void IArrangedElement.PerformLayout(IArrangedElement affectedElement, string affectedProperty) {}
winforms\Managed\System\WinForms\ArrangedElement.cs (11)
21private IArrangedElement parent = null; 46ArrangedElementCollection IArrangedElement.Children { 50IArrangedElement IArrangedElement.Container { 93public virtual IArrangedElement Parent { 98parent = value as IArrangedElement; 108PropertyStore IArrangedElement.Properties { 135protected abstract IArrangedElement GetContainer(); 145public virtual void PerformLayout(IArrangedElement container, string propertyName) { 156((IArrangedElement)this).PerformLayout((IArrangedElement)this, PropertyNames.Size);
winforms\Managed\System\WinForms\Control.cs (9)
11558DefaultLayout.ScaleAnchorInfo((IArrangedElement)this, factor); 14457ArrangedElementCollection IArrangedElement.Children { 14469IArrangedElement IArrangedElement.Container { 14478bool IArrangedElement.ParticipatesInLayout { 14484void IArrangedElement.PerformLayout(IArrangedElement affectedElement, string affectedProperty) { 14490PropertyStore IArrangedElement.Properties { 14497void IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified) {
winforms\Managed\System\WinForms\FlowLayoutSettings.cs (3)
18internal FlowLayoutSettings(IArrangedElement owner) : base(owner) {} 50IArrangedElement element = FlowLayout.Instance.CastToArrangedElement(child); 57IArrangedElement element = FlowLayout.Instance.CastToArrangedElement(child);
winforms\Managed\System\WinForms\Form.cs (2)
4818IArrangedElement form = this as IArrangedElement;
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (3)
39internal virtual IArrangedElement this[int index] { 40get { return (IArrangedElement) InnerList[index]; } 64internal void MoveElement(IArrangedElement element, int fromIndex, int toIndex) {
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (39)
78internal static void ClearMaximumSize(IArrangedElement element) { 92internal static bool GetAutoSize(IArrangedElement element) { 104internal static Padding GetMargin(IArrangedElement element) { 115internal static Size GetMaximumSize(IArrangedElement element, Size defaultMaximumSize) { 127internal static Size GetMinimumSize(IArrangedElement element, Size defaultMinimumSize) { 143internal static Padding GetPadding(IArrangedElement element, Padding defaultPadding) { 154internal static Rectangle GetSpecifiedBounds(IArrangedElement element) { 165internal static void ResetPadding(IArrangedElement element) { 175internal static void SetAutoSize(IArrangedElement element, bool value) { 191internal static void SetMargin(IArrangedElement element, Padding value) { 205internal static void SetMaximumSize(IArrangedElement element, Size value) { 226internal static void SetMinimumSize(IArrangedElement element, Size value) { 248internal static void SetPadding(IArrangedElement element, Padding value) { 274internal static void UpdateSpecifiedBounds(IArrangedElement element, int x, int y, int width, int height, BoundsSpecified specified) { 305internal static void UpdateSpecifiedBounds(IArrangedElement element, int x, int y, int width, int height) { 319internal static void xClearPreferredSizeCache(IArrangedElement element) { 331internal static void xClearAllPreferredSizeCaches(IArrangedElement start) { 348internal static Size xGetPreferredSizeCache(IArrangedElement element) { 359internal static void xSetPreferredSizeCache(IArrangedElement element, Size value) { 377internal static AutoSizeMode GetAutoSizeMode(IArrangedElement element) { 386internal static bool GetNeedsDockAndAnchorLayout(IArrangedElement element) { 402internal static bool GetNeedsAnchorLayout(IArrangedElement element) { 417internal static bool GetNeedsDockLayout(IArrangedElement element) { 433internal static bool GetSelfAutoSizeInDefaultLayout(IArrangedElement element) { 445internal static void SetAutoSizeMode(IArrangedElement element, AutoSizeMode mode) { 454internal static bool ShouldSelfSize(IArrangedElement element) { 474internal static void SetSelfAutoSizeInDefaultLayout(IArrangedElement element, bool value) { 488internal static AnchorStyles xGetAnchor(IArrangedElement element) { 503internal static bool xGetAutoSizedAndAnchored(IArrangedElement element) { 519internal static DockStyle xGetDock(IArrangedElement element) { 539internal static void xSetAnchor(IArrangedElement element, AnchorStyles value) { 558internal static void xSetDock(IArrangedElement element, DockStyle value) { 598internal static bool GetFlowBreak(IArrangedElement element) { 608internal static void SetFlowBreak(IArrangedElement element, bool value) { 627internal static Size GetLayoutBounds(IArrangedElement element) { 648internal static void SetLayoutBounds(IArrangedElement element, Size value) { 655internal static bool HasLayoutBounds(IArrangedElement element) { 667internal static BitVector32 GetLayoutState(IArrangedElement element) { 671internal static void SetLayoutState(IArrangedElement element, BitVector32 state) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (37)
30private static void LayoutAutoSizedControls(IArrangedElement container) { 33IArrangedElement element = children[i]; 73private static Rectangle GetGrowthBounds(IArrangedElement element, Size newSize) { 98private static GrowthDirection GetGrowthDirection(IArrangedElement element) { 130private static Rectangle GetAnchorDestination(IArrangedElement element, Rectangle displayRect, bool measureOnly) { 229private static void LayoutAnchoredControls(IArrangedElement container) { 243IArrangedElement element = children[i]; 252private static Size LayoutDockedControls(IArrangedElement container, bool measureOnly) { 262IArrangedElement mdiClient = null; 268IArrangedElement element = children[i]; 347private static void xLayoutDockedControl(IArrangedElement element, Rectangle newElementBounds, bool measureOnly, ref Size preferredSize, ref Rectangle remainingBounds) { 389private static Size GetVerticalDockedSize(IArrangedElement element, Size remainingSize, bool measureOnly) { 404private static Size GetHorizontalDockedSize(IArrangedElement element, Size remainingSize, bool measureOnly) { 436private static Size xGetDockedSize(IArrangedElement element, Size remainingSize, Size constraints, bool measureOnly) { 452internal override bool LayoutCore(IArrangedElement container, LayoutEventArgs args) { 458private static bool xLayout(IArrangedElement container, bool measureOnly, out Size preferredSize) { 480IArrangedElement element = children[i]; 538private static void UpdateAnchorInfo(IArrangedElement element) { 624public static AnchorStyles GetAnchor(IArrangedElement element) { 628public static void SetAnchor(IArrangedElement container, IArrangedElement element, AnchorStyles value) { 660public static DockStyle GetDock(IArrangedElement element) { 664public static void SetDock(IArrangedElement element, DockStyle value) { 700public static void ScaleAnchorInfo(IArrangedElement element, SizeF factor) { 714private static Rectangle GetCachedBounds(IArrangedElement element) { 727private static bool HasCachedBounds(IArrangedElement container) { 731private static void ApplyCachedBounds(IArrangedElement container) { 752IArrangedElement element = (IArrangedElement) entry.Key; 772private static void ClearCachedBounds(IArrangedElement container) { 776private static void SetCachedBounds(IArrangedElement element, Rectangle bounds) { 787private static AnchorInfo GetAnchorInfo(IArrangedElement element) { 791private static void SetAnchorInfo(IArrangedElement element, AnchorInfo value) { 795internal override void InitLayoutCore(IArrangedElement element, BoundsSpecified specified) { 804internal override Size GetPreferredSize(IArrangedElement container, Size proposedBounds) { 822private static Size GetAnchorPreferredSize(IArrangedElement container) { 827IArrangedElement element = container.Children[i];
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (18)
22internal static FlowLayoutSettings CreateSettings(IArrangedElement owner) { 27internal override bool LayoutCore(IArrangedElement container, LayoutEventArgs args) { 48internal override Size GetPreferredSize(IArrangedElement container, Size proposedConstraints) { 77private static ContainerProxy CreateContainerProxy(IArrangedElement container, FlowDirection flowDirection) { 96private Size xLayout(IArrangedElement container, Rectangle displayRect, bool measureOnly) { 276public static bool GetWrapContents(IArrangedElement container) { 281public static void SetWrapContents(IArrangedElement container, bool value) { 287public static FlowDirection GetFlowDirection(IArrangedElement container) { 291public static void SetFlowDirection(IArrangedElement container, FlowDirection value) { 323private IArrangedElement _container; 327public ContainerProxy(IArrangedElement container) { 371public IArrangedElement Container { 462public RightToLeftProxy(IArrangedElement container) : base(container) { 483public TopDownProxy(IArrangedElement container) : base(container) { 492public BottomUpProxy(IArrangedElement container) : base(container) { 523private IArrangedElement _element; 556public IArrangedElement Element { 644private void Debug_VerifyAlignment(IArrangedElement container, FlowDirection flowDirection) {
winforms\Managed\System\WinForms\Layout\IArrangedElement.cs (2)
46void PerformLayout(IArrangedElement affectedElement, string propertyName); 49IArrangedElement Container { get; }
winforms\Managed\System\WinForms\Layout\LayoutEngine.cs (7)
20internal IArrangedElement CastToArrangedElement(object obj) { 21IArrangedElement element = obj as IArrangedElement; 28internal virtual Size GetPreferredSize(IArrangedElement container, Size proposedConstraints) { return Size.Empty; } 35internal virtual void InitLayoutCore(IArrangedElement element, BoundsSpecified bounds) {} 37internal virtual void ProcessSuspendedLayoutEventArgs(IArrangedElement container, LayoutEventArgs args) {} 67internal virtual bool LayoutCore(IArrangedElement container, LayoutEventArgs layoutEventArgs) { return false; }
winforms\Managed\System\WinForms\Layout\LayoutSettings.cs (3)
12private IArrangedElement _owner; 17internal LayoutSettings(IArrangedElement owner) { 26internal IArrangedElement Owner {
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (8)
239internal static AnchorStyles GetUnifiedAnchor(IArrangedElement element) { 676public LayoutTransaction(Control controlToLayout, IArrangedElement controlCausingLayout, string property) : 680public LayoutTransaction(Control controlToLayout, IArrangedElement controlCausingLayout, string property, bool resumeLayout) { 713public static IDisposable CreateTransactionIf(bool condition, Control controlToLayout, IArrangedElement elementCausingLayout, string property) { 725public static void DoLayout(IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, string property) { 742public static void DoLayoutIf(bool condition, IArrangedElement elementToLayout, IArrangedElement elementCausingLayout, string property) {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (26)
149internal static TableLayoutSettings CreateSettings(IArrangedElement owner) { 153internal override void ProcessSuspendedLayoutEventArgs(IArrangedElement container, LayoutEventArgs args) { 183internal override bool LayoutCore(IArrangedElement container, LayoutEventArgs args) { 225internal override Size GetPreferredSize(IArrangedElement container, Size proposedConstraints) { 296private void EnsureRowAndColumnAssignments(IArrangedElement container, ContainerInfo containerInfo, bool doNotCache) { 720IArrangedElement element = layoutInfo.Element; 830IArrangedElement element = layoutInfo.Element; 857private Size GetElementSize(IArrangedElement element, Size proposedConstraints) { 1172IArrangedElement element = layoutInfo.Element; 1254internal IArrangedElement GetControlFromPosition (IArrangedElement container, int column, int row) { 1283internal TableLayoutPanelCellPosition GetPositionFromControl(IArrangedElement container, IArrangedElement child) { 1307internal static LayoutInfo GetLayoutInfo(IArrangedElement element) { 1316internal static void SetLayoutInfo(IArrangedElement element, LayoutInfo value) { 1340private IArrangedElement _element; 1342public LayoutInfo(IArrangedElement element) { 1350internal IArrangedElement Element { 1445internal static ContainerInfo GetContainerInfo(IArrangedElement container) { 1478private IArrangedElement _container; 1488public ContainerInfo(IArrangedElement container) { 1508public IArrangedElement Container { 1678IArrangedElement element = children[i]; 2000private void Debug_VerifyAssignmentsAreCurrent(IArrangedElement container, ContainerInfo containerInfo) { 2060private void Debug_VerifyNoOverlapping(IArrangedElement container) { 2070foreach(IArrangedElement element in container.Children) {
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
282Rectangle IArrangedElement.DisplayRectangle {
winforms\Managed\System\WinForms\StatusStrip.cs (2)
389if (overflow || ((IArrangedElement)item).ParticipatesInLayout) { 421if (((IArrangedElement)item).ParticipatesInLayout) {
winforms\Managed\System\WinForms\TableLayoutColumnStyleCollection.cs (1)
22internal TableLayoutColumnStyleCollection(IArrangedElement Owner) : base(Owner) {}
winforms\Managed\System\WinForms\TableLayoutRowStyleCollection.cs (1)
22internal TableLayoutRowStyleCollection(IArrangedElement Owner) : base(Owner) {}
winforms\Managed\System\WinForms\TableLayoutSettings.cs (11)
49internal TableLayoutSettings(IArrangedElement owner) : base(owner) {} 242IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 255IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 272IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 290IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 314IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 369IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 402IArrangedElement element = LayoutEngine.CastToArrangedElement(control); 422internal IArrangedElement GetControlFromPosition (int column, int row) { 426internal TableLayoutPanelCellPosition GetPositionFromControl (IArrangedElement element) { 449foreach (IArrangedElement element in Owner.Children) {
winforms\Managed\System\WinForms\TableLayoutStyle.cs (2)
22private IArrangedElement _owner; 67internal IArrangedElement Owner {
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (4)
22private IArrangedElement _owner; 25internal TableLayoutStyleCollection(IArrangedElement owner) { 29internal IArrangedElement Owner { 128internal void EnsureOwnership(IArrangedElement owner) {
winforms\Managed\System\WinForms\ToolStrip.cs (11)
1012if (((IArrangedElement)item).ParticipatesInLayout) { 2476internal static Size GetPreferredSizeHorizontal(IArrangedElement container, Size proposedConstraints) { 2490if (((IArrangedElement)item).ParticipatesInLayout) { 2534internal static Size GetPreferredSizeVertical(IArrangedElement container, Size proposedConstraints) { 2545if (((IArrangedElement)item).ParticipatesInLayout) { 3370if (!HasVisibleItems && e.Item != null && ((IArrangedElement)e.Item).ParticipatesInLayout) { 4381if (((IArrangedElement)item).ParticipatesInLayout) { 4439if (((IArrangedElement)item).ParticipatesInLayout) 4776ArrangedElementCollection IArrangedElement.Children { 4782void IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified) { 4788bool IArrangedElement.ParticipatesInLayout {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (4)
732bool controlVisibleStateFlag = ((IArrangedElement)Control).ParticipatesInLayout; 733bool itemVisibleStateFlag = ((IArrangedElement)(this)).ParticipatesInLayout; 806IArrangedElement element = control as IArrangedElement;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (1)
830internal override Size GetPreferredSize(IArrangedElement container, Size proposedConstraints) {
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
1130ArrangedElementCollection IArrangedElement.Children { 1140IArrangedElement IArrangedElement.Container { 1153Rectangle IArrangedElement.DisplayRectangle { 1164bool IArrangedElement.ParticipatesInLayout { 1175PropertyStore IArrangedElement.Properties { 1185void IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified) { 1196void IArrangedElement.PerformLayout(IArrangedElement container, string propertyName) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
661menuItem.Visible = ((IArrangedElement)this).ParticipatesInLayout;
winforms\Managed\System\WinForms\ToolStripOverflow.cs (7)
75ArrangedElementCollection IArrangedElement.Children { 81IArrangedElement IArrangedElement.Container { 87bool IArrangedElement.ParticipatesInLayout { 94PropertyStore IArrangedElement.Properties { 100void IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified) { 154if (((IArrangedElement)item).ParticipatesInLayout) {
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
557LayoutTransaction.DoLayout(draggedControl.ToolStripPanelRow, e.AffectedComponent as IArrangedElement, e.AffectedProperty); 1307ArrangedElementCollection IArrangedElement.Children {
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (3)
85public IArrangedElement InnerElement { 86get { return _wrappedToolStrip as IArrangedElement; } 130protected override IArrangedElement GetContainer() {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (17)
316((IArrangedElement)this).PerformLayout((IArrangedElement)this, PropertyNames.Size); 353IArrangedElement element = Cells[i] as IArrangedElement; 609((IArrangedElement)this).PerformLayout(this, null); 617ArrangedElementCollection IArrangedElement.Children { 628IArrangedElement IArrangedElement.Container { 639Rectangle IArrangedElement.DisplayRectangle { 652bool IArrangedElement.ParticipatesInLayout { 660PropertyStore IArrangedElement.Properties { 668Size IArrangedElement.GetPreferredSize(Size constrainingSize) { 684void IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified) { 696void IArrangedElement.PerformLayout(IArrangedElement container, string propertyName) { 937Rectangle displayRect = ((IArrangedElement)Row).DisplayRectangle; 1448Rectangle displayRect = ((IArrangedElement)Row).DisplayRectangle;
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (7)
106if (!((IArrangedElement)item).ParticipatesInLayout) { 156if (!((IArrangedElement)item).ParticipatesInLayout) { 193internal override Size GetPreferredSize(IArrangedElement container, Size proposedConstraints) { 220internal override bool LayoutCore(IArrangedElement container, LayoutEventArgs layoutEventArgs) { 293if (!((IArrangedElement)item).ParticipatesInLayout) { 430if (!((IArrangedElement)item).ParticipatesInLayout) { 595if (!((IArrangedElement)item).ParticipatesInLayout) {