5 implementations of Properties
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12581
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))
153
if (element.
Properties
.TryGetValue(s_specifiedBoundsProperty, out Rectangle rectangle)
165
internal static void ResetPadding(IArrangedElement element) => element.
Properties
.RemoveValue(s_paddingProperty);
193
element.
Properties
.AddValue(s_marginProperty, value);
208
element.
Properties
.AddValue(s_maximumSizeProperty, value);
230
element.
Properties
.AddValue(s_minimumSizeProperty, value);
259
element.
Properties
.AddValue(s_paddingProperty, value);
324
element.
Properties
.AddValue(s_specifiedBoundsProperty, originalBounds);
330
if (element.
Properties
.ContainsKey(s_specifiedBoundsProperty))
333
element.
Properties
.AddValue(s_specifiedBoundsProperty, LayoutUtils.s_maxRectangle);
342
element.
Properties
.AddValue(s_specifiedBoundsProperty, bounds);
352
element.
Properties
.AddValue(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize);
382
if (element.
Properties
.TryGetValue(s_preferredSizeCacheProperty, out Size size) && (size != LayoutUtils.s_invalidSize))
398
element.
Properties
.AddValue(s_preferredSizeCacheProperty, value);
681
if (element.
Properties
.TryGetValue(s_layoutBoundsProperty, out Size size))
704
element.
Properties
.AddValue(s_layoutBoundsProperty, value);
712
return element.
Properties
.ContainsKey(s_layoutBoundsProperty);
728
element.
Properties
.GetValueOrDefault<BitVector32>(s_layoutStateProperty);
731
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)
282
!container.
Properties
.TryGetValue(s_wrapContentsProperty, out bool wrap) || wrap;
286
container.
Properties
.AddValue(s_wrapContentsProperty, value);
292
container.
Properties
.GetValueOrDefault<FlowDirection>(s_flowDirectionProperty);
298
container.
Properties
.AddValue(s_flowDirectionProperty, value);
System\Windows\Forms\Layout\TableLayout.cs (4)
1353
if (!element.
Properties
.TryGetValue(s_layoutInfoProperty, out LayoutInfo? layoutInfo))
1364
element.
Properties
.AddOrRemoveValue(s_layoutInfoProperty, value);
1378
if (!container.
Properties
.TryGetValue(s_containerInfoProperty, out ContainerInfo? containerInfo))
1380
containerInfo = container.
Properties
.AddValue(s_containerInfoProperty, new ContainerInfo(container));