dotnet / dotnet/winforms

The selected cell's below dot line is missing when setting the ListView’s GridLines to true

Open
#3,238 2 comments 0 reactions 0 assignees View on GitHub
area-controls-ListView
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

* .NET Core Version: 5.0.100-preview.5.20256.4

* Have you experienced this same bug with .NET Framework?: Yes

**Problem description:**
The below selected dot line of the selected cell is missing.
![GridLines_True_Core](https://user-images.githubusercontent.com/18568603/81393275-a9c7a280-9152-11ea-83ef-f0939ce22ed0.png)

**Expected behavior:**
The dot line should not be missing.
GridLines = False
![GridLines_False_Core](https://user-images.githubusercontent.com/18568603/81393261-a59b8500-9152-11ea-93b7-9a60c83baf22.png)

**Minimal repro:**
1. Create a winforms core project or run the attached project.
[ListView_GridLines.zip](https://github.com/dotnet/winforms/files/4598241/ListView_GridLines.zip)
2. Drag and drop a ListView to Form designer.
3. Click the ‘Edit Items…’ & ‘Edit Columns…’ to add some Items & Columns.
4. Set the View property to Details, and set the GridLines to True.
5. Build and run.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.