2019-04-10から1日間の記事一覧
ItemContainerStyleでListBoxItemのスタイルのPaddingを0にすればよい。 <ItemsControl.ItemContainerStyle> <Style TargetType="{x:Type ListBoxItem}"> <Setter Property="BorderThickness" Value="1"/> <Setter Property="Margin" Value="0"/> <Setter Property="Padding" Value="0"/> </Style> </ItemsControl.ItemContainerStyle>