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