Click here to Skip to main content
15,915,818 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF performance on Windows XP Pin
SledgeHammer012-Apr-13 11:39
SledgeHammer012-Apr-13 11:39 
GeneralRe: WPF performance on Windows XP Pin
Gerry Schmitz2-Apr-13 12:05
mveGerry Schmitz2-Apr-13 12:05 
GeneralRe: WPF performance on Windows XP Pin
SledgeHammer012-Apr-13 12:12
SledgeHammer012-Apr-13 12:12 
GeneralRe: WPF performance on Windows XP Pin
Gerry Schmitz2-Apr-13 12:38
mveGerry Schmitz2-Apr-13 12:38 
GeneralRe: WPF performance on Windows XP Pin
SledgeHammer012-Apr-13 13:02
SledgeHammer012-Apr-13 13:02 
GeneralRe: WPF performance on Windows XP Pin
Gerry Schmitz2-Apr-13 13:45
mveGerry Schmitz2-Apr-13 13:45 
AnswerRe: WPF performance on Windows XP Pin
Pete O'Hanlon2-Apr-13 12:09
mvePete O'Hanlon2-Apr-13 12:09 
QuestionComboBox in a DataGrid, Binding Problem Pin
shakilahmad1232-Apr-13 1:23
shakilahmad1232-Apr-13 1:23 
QuestionHello All. Pin
caradri1-Apr-13 23:08
caradri1-Apr-13 23:08 
AnswerRe: Hello All. Pin
Kenneth Haugland2-Apr-13 9:21
mvaKenneth Haugland2-Apr-13 9:21 
QuestionData display issue with combo box in wpf data grid Pin
ukraju1-Apr-13 7:31
ukraju1-Apr-13 7:31 
AnswerRe: Data display issue with combo box in wpf data grid Pin
Richard MacCutchan1-Apr-13 21:48
mveRichard MacCutchan1-Apr-13 21:48 
QuestionGet File Path from ListView Pin
MumbleB31-Mar-13 3:44
MumbleB31-Mar-13 3:44 
AnswerRe: Get File Path from ListView Pin
Mycroft Holmes31-Mar-13 12:39
professionalMycroft Holmes31-Mar-13 12:39 
GeneralRe: Get File Path from ListView Pin
MumbleB1-Apr-13 0:34
MumbleB1-Apr-13 0:34 
GeneralRe: Get File Path from ListView Pin
Mycroft Holmes1-Apr-13 1:23
professionalMycroft Holmes1-Apr-13 1:23 
GeneralRe: Get File Path from ListView Pin
MumbleB2-Apr-13 9:10
MumbleB2-Apr-13 9:10 
GeneralRe: Get File Path from ListView Pin
Mycroft Holmes2-Apr-13 12:15
professionalMycroft Holmes2-Apr-13 12:15 
GeneralRe: Get File Path from ListView Pin
MumbleB3-Apr-13 7:27
MumbleB3-Apr-13 7:27 
QuestionCollection of User Controls Pin
Mycroft Holmes30-Mar-13 22:44
professionalMycroft Holmes30-Mar-13 22:44 
AnswerRe: Collection of User Controls Pin
SledgeHammer0131-Mar-13 14:48
SledgeHammer0131-Mar-13 14:48 
You should not expose a collection of user controls, or any control for that matter. Define a class called Section (whatever the hell that is) that contains all the data for a section. Then define an ObservableCollection<Section> and expose that from your VM and bind it to the ListBox ItemsSource. Then simply define the ItemTemplate for the ListBox and you are good to go.

Your ItemTemplate would define the controls and their layout and bind them to the Section object which will be the ListBoxItem content.
GeneralRe: Collection of User Controls Pin
Mycroft Holmes31-Mar-13 14:55
professionalMycroft Holmes31-Mar-13 14:55 
GeneralRe: Collection of User Controls Pin
SledgeHammer0131-Mar-13 15:13
SledgeHammer0131-Mar-13 15:13 
GeneralRe: Collection of User Controls Pin
Mycroft Holmes31-Mar-13 15:30
professionalMycroft Holmes31-Mar-13 15:30 
GeneralRe: Collection of User Controls Pin
SledgeHammer0131-Mar-13 15:43
SledgeHammer0131-Mar-13 15:43 

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.