Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Indeterminate ProgressBar inside ListBox ItemTemplate does not displayed in WPF. Bug?

$
0
0

Indeterminate ProgressBar inside ListBox ItemTemplate does not displayed in WPF. Bug?

Currently using Framework 4.0

<ListBox ItemsSource="{Binding FileDownloads}" HorizontalAlignment="Stretch">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Background="Red" HorizontalAlignment="Stretch" >
                            <ProgressBar Panel.ZIndex="100" Visibility="Visible" x:Name="ProgressBar" Minimum="0" Maximum="100"  IsIndeterminate="True" />
                        </StackPanel>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>




Viewing all articles
Browse latest Browse all 18858

Trending Articles