Click here to Skip to main content
15,313,782 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb11-Dec-21 14:05
Membermichaelbarb11-Dec-21 14:05 
GeneralRe: WPF Converter Set or Library Pin
trønderen12-Dec-21 0:05
Membertrønderen12-Dec-21 0:05 
AnswerRe: WPF Converter Set or Library Pin
Richard Deeming12-Dec-21 21:48
mveRichard Deeming12-Dec-21 21:48 
GeneralRe: WPF Converter Set or Library Pin
#realJSOP13-Dec-21 23:33
mva#realJSOP13-Dec-21 23:33 
AnswerRe: WPF Converter Set or Library Pin
Super Lloyd14-Dec-21 1:42
MemberSuper Lloyd14-Dec-21 1:42 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb14-Dec-21 3:59
Membermichaelbarb14-Dec-21 3:59 
GeneralRe: WPF Converter Set or Library Pin
Super Lloyd14-Dec-21 5:17
MemberSuper Lloyd14-Dec-21 5:17 
QuestionListBox selection through code, in MVVM Pin
Amarnath S20-Nov-21 17:17
professionalAmarnath S20-Nov-21 17:17 
I have two ListBoxes on the screen, and this is my requirement:- Upon loading the window, the first listbox (ListBox1) should be populated with items (which is happening correctly), but I also want the first item to be selected. This is to happen via MVVM, and not through codebehind. And upon selecting in the first listbox (ListBox1), the second listbox (ListBox2) should be populated (which is happening correctly), and its first item (of ListBox2) is to be selected.

How is this listbox selection to be achieved via MVVM?

modified 21-Nov-21 0:50am.

AnswerRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 3:10
mva#realJSOP21-Nov-21 3:10 
GeneralRe: ListBox selection through code, in MVVM Pin
Gerry Schmitz21-Nov-21 4:53
mveGerry Schmitz21-Nov-21 4:53 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 5:18
mva#realJSOP21-Nov-21 5:18 
GeneralRe: ListBox selection through code, in MVVM Pin
Amarnath S21-Nov-21 13:55
professionalAmarnath S21-Nov-21 13:55 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 15:08
mva#realJSOP21-Nov-21 15:08 
GeneralRe: ListBox selection through code, in MVVM Pin
Amarnath S23-Nov-21 0:40
professionalAmarnath S23-Nov-21 0:40 
GeneralRe: ListBox selection through code, in MVVM Pin
Gerry Schmitz23-Nov-21 7:28
mveGerry Schmitz23-Nov-21 7:28 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP23-Nov-21 8:52
mva#realJSOP23-Nov-21 8:52 
QuestionUsing custom fonts in WPF project Pin
Alex Dunlop11-Nov-21 21:29
MemberAlex Dunlop11-Nov-21 21:29 
AnswerRe: Using custom fonts in WPF project Pin
#realJSOP12-Nov-21 4:22
mva#realJSOP12-Nov-21 4:22 
GeneralRe: Using custom fonts in WPF project Pin
Alex Dunlop13-Nov-21 8:05
MemberAlex Dunlop13-Nov-21 8:05 
GeneralRe: Using custom fonts in WPF project Pin
#realJSOP14-Nov-21 0:14
mva#realJSOP14-Nov-21 0:14 
GeneralRe: Using custom fonts in WPF project Pin
Alex Dunlop14-Nov-21 17:29
MemberAlex Dunlop14-Nov-21 17:29 
GeneralRe: Using custom fonts in WPF project Pin
#realJSOP14-Nov-21 23:25
mva#realJSOP14-Nov-21 23:25 
GeneralRe: Using custom fonts in WPF project Pin
Dave Kreskowiak15-Nov-21 1:43
mveDave Kreskowiak15-Nov-21 1:43 
QuestionCommon StackPanel being used in two places, with Horizontal and Vertical Orientations Pin
Amarnath S4-Nov-21 3:20
professionalAmarnath S4-Nov-21 3:20 
AnswerRe: Common StackPanel being used in two places, with Horizontal and Vertical Orientations Pin
Gerry Schmitz4-Nov-21 5:36
mveGerry Schmitz4-Nov-21 5:36 

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.