2 instantiations of DockPaddingEdges
System.Windows.Forms (2)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
273
public DockPaddingEdges DockPadding => _dockPadding ??= new
DockPaddingEdges
(this);
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (1)
213
object ICloneable.Clone() => new
DockPaddingEdges
(Left, Right, Top, Bottom);
54 references to DockPaddingEdges
System.Windows.Forms (7)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
251
public new
DockPaddingEdges
DockPadding => base.DockPadding;
System\Windows\Forms\Panels\SplitterPanel.cs (1)
110
public new
DockPaddingEdges
DockPadding
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
653
public new
DockPaddingEdges
DockPadding => base.DockPadding;
System\Windows\Forms\Scrolling\ScrollableControl.cs (2)
39
private
DockPaddingEdges
? _dockPadding;
273
public
DockPaddingEdges
DockPadding => _dockPadding ??= new DockPaddingEdges(this);
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdges.cs (1)
20
PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(
DockPaddingEdges
), attributes);
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (1)
187
return other is
DockPaddingEdges
dpeOther &&
System.Windows.Forms.Tests (47)
System\Windows\Forms\DockPaddingEdgesConverterTests.cs (5)
17
Assert.Equal(nameof(ScrollableControl.
DockPaddingEdges
.All), properties[0].Name);
18
Assert.Equal(nameof(ScrollableControl.
DockPaddingEdges
.Left), properties[1].Name);
19
Assert.Equal(nameof(ScrollableControl.
DockPaddingEdges
.Top), properties[2].Name);
20
Assert.Equal(nameof(ScrollableControl.
DockPaddingEdges
.Right), properties[3].Name);
21
Assert.Equal(nameof(ScrollableControl.
DockPaddingEdges
.Bottom), properties[4].Name);
System\Windows\Forms\DockPaddingEdgesTests.cs (42)
26
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
42
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
65
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
85
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
108
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
128
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
151
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
171
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
194
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
214
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
237
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
248
ScrollableControl.
DockPaddingEdges
CreatePadding(int left, int top, int right, int bottom)
257
ScrollableControl.
DockPaddingEdges
CreateClonedPadding(int left, int top, int right, int bottom)
260
return Assert.IsType<ScrollableControl.
DockPaddingEdges
>(cloneable.Clone());
289
public void DockPaddingEdges_Equals_Invoke_ReturnsExpected(ScrollableControl.
DockPaddingEdges
padding, object other, bool expected)
291
if (other is ScrollableControl.
DockPaddingEdges
)
306
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
319
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
332
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
349
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original2.Clone();
364
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
376
ScrollableControl.
DockPaddingEdges
padding = (ScrollableControl.
DockPaddingEdges
)original.Clone();
387
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
389
PropertyDescriptor property = properties[nameof(ScrollableControl.
DockPaddingEdges
.All)];
408
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
410
PropertyDescriptor property = properties[nameof(ScrollableControl.
DockPaddingEdges
.Left)];
429
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
431
PropertyDescriptor property = properties[nameof(ScrollableControl.
DockPaddingEdges
.Top)];
450
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
452
PropertyDescriptor property = properties[nameof(ScrollableControl.
DockPaddingEdges
.Right)];
471
ScrollableControl.
DockPaddingEdges
padding = owner.DockPadding;
473
PropertyDescriptor property = properties[nameof(ScrollableControl.
DockPaddingEdges
.Bottom)];
488
Assert.IsType<ScrollableControl.DockPaddingEdgesConverter>(TypeDescriptor.GetConverter(typeof(ScrollableControl.
DockPaddingEdges
)));