14 writes to Padding
PresentationUI (1)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
141
this._tabControl.
Padding
= new System.Drawing.Point(7, 3);
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1608
Padding
= s_defaultPaddingPoint;
System.Windows.Forms.Tests (12)
System\Windows\Forms\TabControlTests.cs (12)
1723
Padding
= value
1729
control.
Padding
= value;
1747
control.
Padding
= value;
1755
control.
Padding
= value;
1770
control.
Padding
= new Point(1, 0);
1774
control.
Padding
= new Point(0, 1);
1778
control.
Padding
= new Point(1, 2);
1794
control.
Padding
= new Point(1, 0);
1798
control.
Padding
= new Point(0, 1);
1802
control.
Padding
= new Point(1, 2);
1815
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
Padding
= new Point(-1, 1));
1822
Assert.Throws<ArgumentOutOfRangeException>("value", () => control.
Padding
= new Point(1, -1));
16 references to Padding
System.Windows.Forms (1)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
591
throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidArgument, nameof(
Padding
), value));
System.Windows.Forms.Tests (15)
System\Windows\Forms\TabControlTests.cs (15)
84
Assert.Equal(new Point(6, 3), control.
Padding
);
1725
Assert.Equal(value, control.
Padding
);
1730
Assert.Equal(value, control.
Padding
);
1748
Assert.Equal(value, control.
Padding
);
1756
Assert.Equal(value, control.
Padding
);
1766
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(TabControl))[nameof(TabControl.
Padding
)];
1771
Assert.Equal(new Point(1, 0), control.
Padding
);
1775
Assert.Equal(new Point(0, 1), control.
Padding
);
1779
Assert.Equal(new Point(1, 2), control.
Padding
);
1783
Assert.Equal(new Point(6, 3), control.
Padding
);
1790
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(TabControl))[nameof(TabControl.
Padding
)];
1795
Assert.Equal(new Point(1, 0), control.
Padding
);
1799
Assert.Equal(new Point(0, 1), control.
Padding
);
1803
Assert.Equal(new Point(1, 2), control.
Padding
);
1807
Assert.Equal(new Point(6, 3), control.
Padding
);