15,796,179 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 Python questions
View PHP 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 Lance Contreras (Top 6 by date)
Lance Contreras
6-Nov-13 2:03am
View
I'm also having the same problem. After few hours of googling it, I found out that it's a known bug on the radio button. I found some suggestions of creating a list box and style it like a radio button. However it won't work in my case because I need the GroupName property since I'm using each of my buttons in a data template so i need to bind the group name.
Lance Contreras
27-Mar-13 6:47am
View
I see, the best practice is that you put the TagCollection inside a viewmodel(i.e.TagVM) and then set the MainWindow's DataContext to an instance of TagVM.
But if you're strict with the implementation, and you really need to implement it the way you said it, what you can do is implement an INotifyPropertyChange in your main window. You'll be having a PropertyChange event when you implement that interface and you should also implement your own method of RaisePropertyChange. I'll update the solution without using a ViewModelbase. Please see my updates.
Lance Contreras
26-Mar-13 11:14am
View
I don't get it, what's the structure of your UI? How are you going to launch the login page from the main page? You can try binding it explicitly by setting the control's DataContext to a specific viewmodel object (i.e. MainPage.DataContext = new MainPageViewModel() or LoginPage.DataContext = new LoginViewModel()). It really depend's on the structure of your code.
Lance Contreras
26-Mar-13 10:43am
View
Which specific WPF library are you pertaining to?
Lance Contreras
26-Mar-13 10:39am
View
I agree with Matej. You need to have a control template for that.
Lance Contreras
26-Mar-13 10:38am
View
Deleted
I agree with Matej. You need to have a control template for that.
Show More