Click here to Skip to main content
15,894,180 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Drawing own Picture and set it to Control Pin
ezazazel18-Feb-09 11:27
ezazazel18-Feb-09 11:27 
GeneralRe: Drawing own Picture and set it to Control Pin
Mark Salsbery19-Feb-09 6:35
Mark Salsbery19-Feb-09 6:35 
QuestionWPF application using MVP(model view presenter) design pattern Pin
Member 400910216-Feb-09 23:48
Member 400910216-Feb-09 23:48 
AnswerRe: WPF application using MVP(model view presenter) design pattern Pin
Pete O'Hanlon16-Feb-09 23:51
mvePete O'Hanlon16-Feb-09 23:51 
AnswerRe: WPF application using MVP(model view presenter) design pattern Pin
Jani Giannoudis17-Feb-09 6:40
Jani Giannoudis17-Feb-09 6:40 
QuestionUpdating only visible rows in WPF ListView Pin
Pankaj Chamria16-Feb-09 21:43
Pankaj Chamria16-Feb-09 21:43 
AnswerRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon17-Feb-09 0:36
mvePete O'Hanlon17-Feb-09 0:36 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pankaj Chamria18-Feb-09 2:29
Pankaj Chamria18-Feb-09 2:29 
Thanks for the reply. I tried your suggestion as shown below for my ListView for which the ItemsSource get assigned to an observable collection from code-behind. However it did not show any performance enhancement.. Can you check and see whether i am missing something.

Also important to note is that the datasource is getting updated continuosly using a live data stream. And i am trying to reflect those changes in the ListView.

<StackPanel Orientation="Vertical" x:Name="pnlMain">
            <ListView VirtualizingStackPanel.IsVirtualizing="True" x:Name="gridControl1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
                      Width="Auto" Height="Auto" ScrollViewer.CanContentScroll="False"
                      IsSynchronizedWithCurrentItem="True" ScrollViewer.HorizontalScrollBarVisibility="Auto"  
                      ScrollViewer.VerticalScrollBarVisibility="Auto"
                      GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler"
                      local:ItemsControlBehavior.AlternateItemContainerStyle="{DynamicResource alternateItemStyle}">              
                <ListView.View>
                    <GridView x:Name="view" ColumnHeaderContainerStyle="{DynamicResource MyHeaderStyle}">
                    </GridView>
                </ListView.View>
                <ListView.ItemContainerStyle>
                    <Style TargetType="ListViewItem">
                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                    </Style>
                </ListView.ItemContainerStyle>
                
           </ListView>
           
</StackPanel>


Thanks!

Pankaj Chamria,
Software Programmer.

GeneralRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon18-Feb-09 2:44
mvePete O'Hanlon18-Feb-09 2:44 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pankaj Chamria18-Feb-09 4:09
Pankaj Chamria18-Feb-09 4:09 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon18-Feb-09 4:47
mvePete O'Hanlon18-Feb-09 4:47 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pankaj Chamria22-Feb-09 21:48
Pankaj Chamria22-Feb-09 21:48 
QuestionRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»13-May-09 0:48
professionalKunal Chowdhury «IN»13-May-09 0:48 
AnswerRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon13-May-09 1:35
mvePete O'Hanlon13-May-09 1:35 
QuestionRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»13-May-09 1:45
professionalKunal Chowdhury «IN»13-May-09 1:45 
AnswerRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon13-May-09 1:55
mvePete O'Hanlon13-May-09 1:55 
GeneralRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»13-May-09 2:06
professionalKunal Chowdhury «IN»13-May-09 2:06 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pankaj Chamria13-May-09 22:22
Pankaj Chamria13-May-09 22:22 
GeneralRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»14-May-09 2:48
professionalKunal Chowdhury «IN»14-May-09 2:48 
GeneralRe: Updating only visible rows in WPF ListView Pin
Pete O'Hanlon14-May-09 4:57
mvePete O'Hanlon14-May-09 4:57 
GeneralRe: Updating only visible rows in WPF ListView Pin
Kunal Chowdhury «IN»14-May-09 21:02
professionalKunal Chowdhury «IN»14-May-09 21:02 
QuestionWPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
frosty_4th16-Feb-09 16:00
frosty_4th16-Feb-09 16:00 
AnswerRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
ABitSmart16-Feb-09 16:36
ABitSmart16-Feb-09 16:36 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
Pete O'Hanlon16-Feb-09 22:25
mvePete O'Hanlon16-Feb-09 22:25 
GeneralRe: WPF, Delegates, The calling thread cannot access this object because a different thread owns it Pin
frosty_4th16-Feb-09 23:41
frosty_4th16-Feb-09 23:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.