Click here to Skip to main content
15,924,036 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Using Office Themes Pin
Pete O'Hanlon3-Mar-11 9:45
mvePete O'Hanlon3-Mar-11 9:45 
AnswerRe: Using Office Themes Pin
SledgeHammer013-Mar-11 9:46
SledgeHammer013-Mar-11 9:46 
QuestionNagivating from a aspx page to a silverlight page Pin
Vimalsoft(Pty) Ltd3-Mar-11 5:17
professionalVimalsoft(Pty) Ltd3-Mar-11 5:17 
AnswerRe: Nagivating from a aspx page to a silverlight page Pin
Pravin Patil, Mumbai4-Mar-11 0:23
Pravin Patil, Mumbai4-Mar-11 0:23 
GeneralRe: Nagivating from a aspx page to a silverlight page Pin
Vimalsoft(Pty) Ltd4-Mar-11 0:29
professionalVimalsoft(Pty) Ltd4-Mar-11 0:29 
GeneralRe: Nagivating from a aspx page to a silverlight page Pin
Pravin Patil, Mumbai4-Mar-11 0:57
Pravin Patil, Mumbai4-Mar-11 0:57 
GeneralRe: Nagivating from a aspx page to a silverlight page Pin
Vimalsoft(Pty) Ltd4-Mar-11 1:25
professionalVimalsoft(Pty) Ltd4-Mar-11 1:25 
QuestionListView with 50,000 controls Pin
Moonwalker0313-Mar-11 3:43
Moonwalker0313-Mar-11 3:43 
Hi I'm new here and also new to WPF. I'm an Electronics engineer and use C# for programming microcontrollers. On Windows I have some programming background in Delphi but that was about 8years ago.
Anyway I am working on a project now that requires a nice user interface for Windows so I am trying to learn WPF.

1.
The first problem is that I need a scrollable panel that can have up to 50,000 listboxes. I tested different controls and found that ListView is the best since it can virtualize. Once the listboxes are created the application works just fine but creating all those listboxes is taking ages. Loading time is acceptable for about 5000 items then it starts to increase exponentially. Is there any way around this?

2.
I am trying another approach where I have only a set of 15 listboxes and store the data in an array. When the user clicks for the next item I need to move the data from one listbox to the other and load the last box with data from the array. The problem is that the listboxes are named listbox1,listbox2....listbox15 so I cant put the code in a loop. Is it possible to bind the listboxes to part of the array so they automatically show the correct data according to the index selected?

PS - The listboxes are representing 100ms timeframes for a total of about 1hr20mins.
AnswerRe: ListView with 50,000 controls Pin
SledgeHammer013-Mar-11 5:00
SledgeHammer013-Mar-11 5:00 
GeneralRe: ListView with 50,000 controls Pin
Moonwalker0313-Mar-11 6:04
Moonwalker0313-Mar-11 6:04 
GeneralRe: ListView with 50,000 controls Pin
SledgeHammer013-Mar-11 6:31
SledgeHammer013-Mar-11 6:31 
GeneralRe: ListView with 50,000 controls Pin
Moonwalker0313-Mar-11 11:53
Moonwalker0313-Mar-11 11:53 
AnswerRe: ListView with 50,000 controls Pin
_Maxxx_3-Mar-11 15:55
professional_Maxxx_3-Mar-11 15:55 
GeneralRe: ListView with 50,000 controls Pin
Moonwalker0314-Mar-11 2:16
Moonwalker0314-Mar-11 2:16 
GeneralRe: ListView with 50,000 controls Pin
_Maxxx_5-Mar-11 1:03
professional_Maxxx_5-Mar-11 1:03 
GeneralRe: ListView with 50,000 controls Pin
Moonwalker0315-Mar-11 3:14
Moonwalker0315-Mar-11 3:14 
GeneralRe: ListView with 50,000 controls Pin
_Maxxx_5-Mar-11 16:21
professional_Maxxx_5-Mar-11 16:21 
GeneralRe: ListView with 50,000 controls Pin
Moonwalker0315-Mar-11 21:52
Moonwalker0315-Mar-11 21:52 
QuestionForce xaml update from C# code Pin
marca2922-Mar-11 23:52
marca2922-Mar-11 23:52 
AnswerRe: Force xaml update from C# code Pin
SledgeHammer013-Mar-11 4:57
SledgeHammer013-Mar-11 4:57 
QuestionUnable to view the properties of third party grid contorls using Iaccessible interface Pin
Akhil042-Mar-11 1:32
Akhil042-Mar-11 1:32 
QuestionWPF : What event will be triggered after window_loaded Pin
DavJes2-Mar-11 0:02
DavJes2-Mar-11 0:02 
AnswerRe: WPF : What event will be triggered after window_loaded Pin
parama_chakra3-Mar-11 20:34
parama_chakra3-Mar-11 20:34 
AnswerRe: WPF : What event will be triggered after window_loaded Pin
SledgeHammer014-Mar-11 8:39
SledgeHammer014-Mar-11 8:39 
QuestionLoad picture from resource file XAML Pin
Mc_Topaz1-Mar-11 21:40
Mc_Topaz1-Mar-11 21:40 

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.