The following template is used to cancel default selection drawing, because there is a special selection/highlighting logic in the Thumbnail control.
XAML | ![]() |
---|---|
<Style TargetType="{x:Type ListBoxItem}" x:Key="ThumbnailListBoxItemStyle <Setter Property="Template <Setter.Value> <ControlTemplate TargetType="{x:Type ListBoxItem}" > <ContentPresenter VerticalAlignment="Top" HorizontalAlignment="Left"/> </ControlTemplate> </Setter.Value> </Setter> </Style> |