Page 1 of 1

ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Posted: Thu Jun 08, 2017 9:47 am
by TaterJuice
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>

Re: ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Posted: Fri Jun 09, 2017 2:38 am
by JS-Support
Hi,

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

Regards,
JS-Support

Re: ListBox.SelectedItemBackground broken with ItemsPanelTemplate

Posted: Sat Jun 24, 2017 12:32 pm
by TaterJuice
Thanks, is there a timeline or eta on a fix?