how to clear the margins of the corners of a checkbox in a listbox

Add this code to your ListBox:

    <Style TargetType="ListBoxItem">
        <Setter Property="Padding" Value="0" />

This will set the Padding of the ListBoxItem container to 0. The result looks like this:

result image

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top