11 writes to Padding
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
341set => base.Padding = value;
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListBoxTests.cs (10)
1971Padding = value 1977control.Padding = value; 1995control.Padding = value; 2003control.Padding = value; 2026control.Padding = padding1; 2031control.Padding = padding1; 2037control.Padding = padding2; 2043control.Padding = padding1; 4821Padding = new Padding(1, 2, 3, 4) 4870Padding = new Padding(1, 2, 3, 4)
13 references to Padding
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
340get => base.Padding;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
776return new Size(width, height) + Padding.Size;
System.Windows.Forms.Tests (11)
System\Windows\Forms\ListBoxTests.cs (11)
97Assert.Equal(Padding.Empty, control.Padding); 1973Assert.Equal(expected, control.Padding); 1978Assert.Equal(expected, control.Padding); 1996Assert.Equal(expected, control.Padding); 2004Assert.Equal(expected, control.Padding); 2027Assert.Equal(padding1, control.Padding); 2032Assert.Equal(padding1, control.Padding); 2038Assert.Equal(padding2, control.Padding); 2044Assert.Equal(padding1, control.Padding); 6369int expectedHeight = totalItemHeight + listBox.Padding.Vertical; 6393int expectedHeight = totalItemHeight + listBox.Padding.Vertical;