Click here to Skip to main content
15,908,264 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Layout Databinding Help Pin
Pete O'Hanlon2-Jul-10 1:11
mvePete O'Hanlon2-Jul-10 1:11 
Questionhide a group name in a wpf data grid Pin
Salman Haider1-Jul-10 19:52
Salman Haider1-Jul-10 19:52 
QuestionHow to make forward the MenuControl 's MenuBar list name its getting hide in my solution at run time Pin
Ch.Gayatri Subudhi1-Jul-10 18:55
Ch.Gayatri Subudhi1-Jul-10 18:55 
AnswerRe: How to make forward the MenuControl 's MenuBar list name its getting hide in my solution at run time Pin
Abhinav S1-Jul-10 20:10
Abhinav S1-Jul-10 20:10 
Questionget control name in a canvas Pin
ctlqt121-Jul-10 18:38
ctlqt121-Jul-10 18:38 
AnswerRe: get control name in a canvas Pin
Abhinav S1-Jul-10 20:02
Abhinav S1-Jul-10 20:02 
GeneralRe: get control name in a canvas Pin
ctlqt123-Jul-10 17:07
ctlqt123-Jul-10 17:07 
QuestionBinding to an objects member variable in a List Pin
xtr33me1-Jul-10 12:01
xtr33me1-Jul-10 12:01 
I am somewhat new to WPF and am loving the data binding, but it seems that I am still having a little bit of a rough time getting some things to work, one being this issue. I currently have an object that has a "Name" member variable as well as a few other member variables which I have made public accessors for. I then poulated a global List of these objects from a tab delimited file.

I now have a listbox in my main window that I want to databind to the "Name" variable of each object listed in my List<> of these objects. In my XAML I currently have the below code where m_netObjArr is my global List<networkidobject> which for each of my NetworkIDObjects I want to access their "Name" accessor.

<ListBox Height="Auto" Name="lbNetSelect" Width="Auto" MouseRightButtonDown="lbNetSelect_MouseRightButtonDown" 
                         SelectionChanged="lbNetSelect_SelectionChanged" ItemsSource="{Binding ElementName=window1.m_netObjArr, Path=Name }"/>


Any help or direction would be great! Thanks everyone!
AnswerRe: Binding to an objects member variable in a List Pin
Venkatesh Mookkan1-Jul-10 17:44
Venkatesh Mookkan1-Jul-10 17:44 
GeneralRe: Binding to an objects member variable in a List Pin
xtr33me2-Jul-10 1:12
xtr33me2-Jul-10 1:12 
GeneralRe: Binding to an objects member variable in a List Pin
BechBej4-Jul-10 12:26
BechBej4-Jul-10 12:26 
QuestionHow to make Single instance application to run Pin
Joe Rozario1-Jul-10 2:32
Joe Rozario1-Jul-10 2:32 
AnswerRe: How to make Single instance application to run Pin
Not Active1-Jul-10 2:49
mentorNot Active1-Jul-10 2:49 
AnswerRe: How to make Single instance application to run Pin
Pete O'Hanlon1-Jul-10 2:57
mvePete O'Hanlon1-Jul-10 2:57 
GeneralRe: How to make Single instance application to run Pin
Joe Rozario4-Jul-10 18:27
Joe Rozario4-Jul-10 18:27 
GeneralRe: How to make Single instance application to run Pin
Pete O'Hanlon4-Jul-10 21:50
mvePete O'Hanlon4-Jul-10 21:50 
AnswerRe: How to make Single instance application to run Pin
BechBej4-Jul-10 13:05
BechBej4-Jul-10 13:05 
GeneralRe: How to make Single instance application to run Pin
Pete O'Hanlon4-Jul-10 21:49
mvePete O'Hanlon4-Jul-10 21:49 
QuestionWPF App - different page than StartupUri getting called... Pin
Phil Boyd30-Jun-10 10:34
Phil Boyd30-Jun-10 10:34 
AnswerRe: WPF App - different page than StartupUri getting called... Pin
Pete O'Hanlon30-Jun-10 10:46
mvePete O'Hanlon30-Jun-10 10:46 
AnswerRe: WPF App - different page than StartupUri getting called... Pin
BechBej5-Jul-10 9:45
BechBej5-Jul-10 9:45 
QuestionProblem with Binding to XML in WPF. [Resolved] Pin
Henry Minute30-Jun-10 9:34
Henry Minute30-Jun-10 9:34 
AnswerRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 10:44
mvePete O'Hanlon30-Jun-10 10:44 
GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute30-Jun-10 11:31
Henry Minute30-Jun-10 11:31 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 11:45
mvePete O'Hanlon30-Jun-10 11:45 

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.