LongListSelector with list item selection style

后端 未结 1 608
闹比i
闹比i 2021-01-26 10:23

I am working on Windows Phone 8 and i have Longlist selector with few item in it.

I am using the below code for highlighting the selected item in the list box.But i want

1条回答
  •  盖世英雄少女心
    2021-01-26 11:25

    I try your code, but the LongListSelector control display a list of selectable items with a mechanism for users to jump to a specific section of the list. This is the sample code.

    But if you want achieved the effect like ListBox, you can set the template

    
                    
                        
                            
                                
                                    
                                        
                                            
                                        
                                        
                                            
                                                
                                            
                                        
                                        
                                    
                                    
                                        
                                        
                                            
                                                
                                                    
                                                
                                            
                                        
                                    
                                
                                
                                    
                                        
                                        
                                    
                                    
                                    
                                
                            
                        
                    
                
    

    0 讨论(0)
提交回复
热议问题