Posted 8 September 2017, 1:14 pm ESTIn attached file UnitSettingsFill.png there are 2 unwanted white lines. To the right of the spreadhsheet control is a thick vertical line that runs the full height of the spreadshee. Hanging off the lower left corner of the spreadsheet is a short, vertical white line. The relevant bit of the code for creating this image is
<span>grid = new PropertyGridControl();</span>
<span>grid</span><span>.Dock = DockStyle.Fill;
</span>File UnitSettings.png was created without a <span>grid</span><span>.Dock </span>specification. Since it also has the unwanted white lines, I assume the lines are controlled by the style/painting/... of the spreadsheet. What need I change in my code to make the lines go away?