15,918,243 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by NPP83 (Top 10 by date)
NPP83
3-Nov-10 14:37pm
View
To clarify, I want to know what data bindings/paths etc... belong to the displaying of the data in the ComboBox and what I need to click on the element in the combobox and pass it to a datagrid.
NPP83
26-Oct-10 16:33pm
View
Since my UI is in XAML/WPF, how do I instantiate a new Form Load method to insert this.DataContext?
NPP83
26-Oct-10 16:17pm
View
Okay. So my class is Agent. It has a property in it called "FirstName". On formload then I need a declaration like this:
this.DataContext = Agent;
Right?
NPP83
26-Oct-10 14:05pm
View
I am new. And I see above in your response you did add in a sufficient example. Thank you for all your help and sources.
NPP83
26-Oct-10 13:48pm
View
So basically, I have added this into my Canvas: TextBox Text ="{Binding FirstName}". My next and final question is: how does this declaration know to associate the right textbox to the Property it goes with. So, for example, my textbox name is _arFirstName and my Property in code is FirstName. I dont see anywhere in the snippet you gave me a way to tell it to associate the right textbox with the Property name.
NPP83
26-Oct-10 13:36pm
View
Is this declared within the XAML where the textbox resides? I guess what I am even more confused about is how to associate the name of the textbox (in this case: _arFirstName) with the binding you described.
NPP83
26-Oct-10 13:32pm
View
Apparently my formatted code won't display in a comment box. See above in my original question for my added code.
NPP83
26-Oct-10 13:27pm
View
I am not sure where to declare this piece of code then in my xaml (thats how new I am to this). I understand its linkage to the property in the domain's corresponding business object. And does TextBox "Text" refer to the name of the textbox?
In my declaration on my canvas I have this:
<textbox canvas.left="93" canvas.top="8" height="23" x:name="_arFirstName" width="120" isreadonly="True">
Would your code declaration go in after this?
NPP83
26-Oct-10 13:25pm
View
In the Agent business class/domain object FirstName does have a corresponding public property. Why would it be trivial to bind to the property then if the property is the only intermediary between the textbox and the data column?
NPP83
26-Oct-10 13:02pm
View
I am operating through a domain (business object) of the corresponding type name. It isn't a direct link. The insert and update queries done through the textbox to the column are through that domain class. Is this what you are referring to?
Show More