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