5 implementations of Properties
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
108
PropertyStore IArrangedElement.
Properties
{
winforms\Managed\System\WinForms\Control.cs (1)
14490
PropertyStore IArrangedElement.
Properties
{
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
1175
PropertyStore IArrangedElement.
Properties
{
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
94
PropertyStore IArrangedElement.
Properties
{
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
660
PropertyStore IArrangedElement.
Properties
{
41 references to Properties
System.Windows.Forms (41)
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (25)
79
if (element.
Properties
.ContainsObject(_maximumSizeProperty)) {
80
element.
Properties
.RemoveObject(_maximumSizeProperty);
106
Padding padding = element.
Properties
.GetPadding(_marginProperty, out found);
117
Size size = element.
Properties
.GetSize(_maximumSizeProperty, out found);
129
Size size = element.
Properties
.GetSize(_minimumSizeProperty, out found);
145
Padding padding = element.
Properties
.GetPadding(_paddingProperty, out found);
156
Rectangle rectangle = element.
Properties
.GetRectangle(_specifiedBoundsProperty, out found);
166
object value = element.
Properties
.GetObject(_paddingProperty);
168
element.
Properties
.RemoveObject(_paddingProperty);
194
element.
Properties
.SetPadding(_marginProperty, value);
209
element.
Properties
.SetSize(_maximumSizeProperty, value);
230
element.
Properties
.SetSize(_minimumSizeProperty, value);
253
element.
Properties
.SetPadding(_paddingProperty, value);
292
element.
Properties
.SetRectangle(_specifiedBoundsProperty, originalBounds);
297
if(element.
Properties
.ContainsObject(_specifiedBoundsProperty)) {
299
element.
Properties
.SetRectangle(_specifiedBoundsProperty, LayoutUtils.MaxRectangle);
307
element.
Properties
.SetRectangle(_specifiedBoundsProperty, bounds);
320
element.
Properties
.SetSize(_preferredSizeCacheProperty, LayoutUtils.InvalidSize);
350
Size size = element.
Properties
.GetSize(_preferredSizeCacheProperty, out found);
364
element.
Properties
.SetSize(_preferredSizeCacheProperty, value);
629
Size size = element.
Properties
.GetSize(_layoutBoundsProperty, out found);
649
element.
Properties
.SetSize(_layoutBoundsProperty, value);
657
element.
Properties
.GetSize(_layoutBoundsProperty, out found);
668
return new BitVector32(element.
Properties
.GetInteger(_layoutStateProperty));
672
element.
Properties
.SetInteger(_layoutStateProperty, state.Data);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (8)
716
IDictionary dictionary = (IDictionary) element.Container.
Properties
.GetObject(_cachedBoundsProperty);
728
return container != null && container.
Properties
.GetObject(_cachedBoundsProperty) != null;
743
IDictionary dictionary = (IDictionary) container.
Properties
.GetObject(_cachedBoundsProperty);
773
container.
Properties
.SetObject(_cachedBoundsProperty, null);
778
IDictionary dictionary = (IDictionary) element.Container.
Properties
.GetObject(_cachedBoundsProperty);
781
element.Container.
Properties
.SetObject(_cachedBoundsProperty, dictionary);
788
return (AnchorInfo) element.
Properties
.GetObject(_layoutInfoProperty);
792
element.
Properties
.SetObject(_layoutInfoProperty, value);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (4)
277
int wrapContents = container.
Properties
.GetInteger(_wrapContentsProperty);
282
container.
Properties
.SetInteger(_wrapContentsProperty, value ? 0 : 1); // set to 0 if true, 1 if false
288
return (FlowDirection) container.
Properties
.GetInteger(_flowDirectionProperty);
296
container.
Properties
.SetInteger(_flowDirectionProperty, (int) value);
winforms\Managed\System\WinForms\Layout\TableLayout.cs (4)
1308
LayoutInfo layoutInfo = (LayoutInfo)element.
Properties
.GetObject(_layoutInfoProperty);
1317
element.
Properties
.SetObject(_layoutInfoProperty, value);
1446
ContainerInfo containerInfo = (ContainerInfo) container.
Properties
.GetObject(_containerInfoProperty);
1449
container.
Properties
.SetObject(_containerInfoProperty, containerInfo);