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