15,949,686 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 .NET 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 Kamran Sultanlı (Top 6 by date)
Kamran Sultanlı
5-Oct-21 5:58am
View
The purpose of this homework is to learn mvvm designs so that I can write much cleaner codes. This is a bit difficult for me, my only hope is that one day I will understand and get used to it.
Kamran Sultanlı
5-Oct-21 4:54am
View
Thank you so much @George Swan. Thank you for your effort. it will be help me. But this task has some conditions. the first is to never write anything in codebehind, the second is to use reactive ui. But I still think it will be of great help in some way to me.
Kamran Sultanlı
4-Oct-21 10:03am
View
public ObservableCollection<itemsviewmodel> Items { get; private set; }
public MainViewModel()
{
Items = new ObservableCollection<itemsviewmodel>();
}
This is how I made the observable part. this fixed a binding error but I still can't add the usercontrol to the main window
Kamran Sultanlı
4-Oct-21 9:52am
View
Okay. I tried to fix some issues but there should still be a few issues. There is no error around, but still the view in the usercontrol does not appear in the mainwindow.
Kamran Sultanlı
4-Oct-21 8:17am
View
Thank you for your recommendation. I put everything together and it's in worse shape now. I need to add the usercontrol to the window screen and it should do this every time when I press the button but it doesn't. even usercontrol does not come to the window screen at all. I have two viewmodles. one for main and the other for items, but I'm not quite sure what will be in main and what will be in copyclone. Since the commands will be in the usercontrol, I mainly thought to write it inside the copycolne, but I guess I made a big mistake. In addition to this, let's say we have a property called stringvalue binding to the textbox. How do I add the string value to the observableColletion.In short, I guess I'm not sure where the links are going.
Kamran Sultanlı
4-Oct-21 5:41am
View
Hi. First of all, in the AddCopy and AddClone Obects that you see in the MainViewModel. I need to write them what to do if this command comes. When the clone button is pressed, the view model I created must have a connection with the text box that I copied and copied again in the Main view model. so if I change any value, it should also change the text it copied. But I don't know how to get value from Text and send it back
Show More