ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
TaterJuice
Posts: 23
Joined: Thu Mar 16, 2017 5:40 am

ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Postby TaterJuice » Thu Jun 08, 2017 9:47 am

ListBox.SelectedItemBackground working:

Code: Select all

    <ListBox
        SelectedItemBackground="Blue">
        <ListBox.ItemTemplate>
            <DataTemplate>
                <TextBlock
                    Text="{Binding .}" />
            </DataTemplate>
        </ListBox.ItemTemplate>
    </ListBox>


ListBox.SelectedItemBackground not working:

Code: Select all

    <ListBox
        SelectedItemBackground="Blue">
        <ListBox.ItemsPanel>
            <ItemsPanelTemplate>
                <StackPanel Orientation="Horizontal" />
            </ItemsPanelTemplate>
        </ListBox.ItemsPanel>
        <ListBox.ItemTemplate>
            <DataTemplate>
                <TextBlock
                    Text="{Binding .}" />
            </DataTemplate>
        </ListBox.ItemTemplate>
    </ListBox>

JS-Support
Site Admin
Posts: 664
Joined: Tue Apr 08, 2014 3:42 pm

Re: ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Postby JS-Support » Fri Jun 09, 2017 2:38 am

Hi,

Thanks for reporting this issue. We are going to fix it asap.

Regards,
JS-Support

TaterJuice
Posts: 23
Joined: Thu Mar 16, 2017 5:40 am

Re: ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Postby TaterJuice » Sat Jun 24, 2017 12:32 pm

Thanks, is there a timeline or eta on a fix?


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest