5 implementations of Properties
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12608
PropertyStore IArrangedElement.
Properties
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
980
PropertyStore IArrangedElement.
Properties
=> Properties;
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
70
PropertyStore IArrangedElement.
Properties
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
662
PropertyStore IArrangedElement.
Properties
System\Windows\Forms\Layout\ArrangedElement.cs (1)
113
PropertyStore IArrangedElement.
Properties
39 references to Properties
System.Windows.Forms (39)
System\Windows\Forms\Layout\CommonProperties.cs (23)
54
internal static void ClearMaximumSize(IArrangedElement element) => element.
Properties
.RemoveValue(s_maximumSizeProperty);
86
if (element.
Properties
.TryGetValue(s_marginProperty, out Padding padding))
99
if (element.
Properties
.TryGetValue(s_maximumSizeProperty, out Size size))
112
if (element.
Properties
.TryGetValue(s_minimumSizeProperty, out Size size))
135
if (element.
Properties
.TryGetValue(s_paddingProperty, out Padding padding))
152
element.
Properties
.TryGetValue(s_specifiedBoundsProperty, out Rectangle rectangle)
160
internal static void ResetPadding(IArrangedElement element) => element.
Properties
.RemoveValue(s_paddingProperty);
188
element.
Properties
.AddValue(s_marginProperty, value);
203
element.
Properties
.AddValue(s_maximumSizeProperty, value);
225
element.
Properties
.AddValue(s_minimumSizeProperty, value);
254
element.
Properties
.AddValue(s_paddingProperty, value);
319
element.
Properties
.AddValue(s_specifiedBoundsProperty, originalBounds);
325
if (element.
Properties
.ContainsKey(s_specifiedBoundsProperty))
328
element.
Properties
.AddValue(s_specifiedBoundsProperty, LayoutUtils.s_maxRectangle);
337
element.
Properties
.AddValue(s_specifiedBoundsProperty, bounds);
347
element.
Properties
.AddValue(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize);
377
if (element.
Properties
.TryGetValue(s_preferredSizeCacheProperty, out Size size) && (size != LayoutUtils.s_invalidSize))
393
element.
Properties
.AddValue(s_preferredSizeCacheProperty, value);
676
if (element.
Properties
.TryGetValue(s_layoutBoundsProperty, out Size size))
699
element.
Properties
.AddValue(s_layoutBoundsProperty, value);
707
return element.
Properties
.ContainsKey(s_layoutBoundsProperty);
723
element.
Properties
.GetValueOrDefault<BitVector32>(s_layoutStateProperty);
726
element.
Properties
.AddValue(s_layoutStateProperty, state);
System\Windows\Forms\Layout\DefaultLayout.cs (8)
1007
if (container.
Properties
.TryGetValue(s_cachedBoundsProperty, out IDictionary? dictionary))
1021
container is not null && container.
Properties
.ContainsKey(s_cachedBoundsProperty);
1036
if (!container.
Properties
.TryGetValue(s_cachedBoundsProperty, out IDictionary? dictionary))
1070
private static void ClearCachedBounds(IArrangedElement container) => container.
Properties
.RemoveValue(s_cachedBoundsProperty);
1076
if (!container.
Properties
.TryGetValue(s_cachedBoundsProperty, out IDictionary? dictionary))
1078
dictionary = container.
Properties
.AddValue(s_cachedBoundsProperty, new HybridDictionary());
1086
element.
Properties
.GetValueOrDefault<AnchorInfo>(s_layoutInfoProperty);
1089
element.
Properties
.AddOrRemoveValue(s_layoutInfoProperty, value);
System\Windows\Forms\Layout\FlowLayout.cs (4)
283
!container.
Properties
.TryGetValue(s_wrapContentsProperty, out bool wrap) || wrap;
287
container.
Properties
.AddValue(s_wrapContentsProperty, value);
293
container.
Properties
.GetValueOrDefault<FlowDirection>(s_flowDirectionProperty);
299
container.
Properties
.AddValue(s_flowDirectionProperty, value);
System\Windows\Forms\Layout\TableLayout.cs (4)
1352
if (!element.
Properties
.TryGetValue(s_layoutInfoProperty, out LayoutInfo? layoutInfo))
1363
element.
Properties
.AddOrRemoveValue(s_layoutInfoProperty, value);
1377
if (!container.
Properties
.TryGetValue(s_containerInfoProperty, out ContainerInfo? containerInfo))
1379
containerInfo = container.
Properties
.AddValue(s_containerInfoProperty, new ContainerInfo(container));