Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Mohammed Hablullah
0
35
558
Text Box and Combo box binding
Apr 5 2018 5:24 AM
I need a logic to implement
let consider only two controls textbox and combobox with 4 option.
Option 1 multiply by 1
Option 2 multiply by 2
Option 3 multiply by 3
Option 4 multiply by 4
for example user enters 1000 in the textbox and select option 2 in combobox.
the value 2000 (which is 1000 x 2) should display in the same text box.
When the user again changes the option in combobox with option 3.
the value to result in the text box as 3000 (i.e, 1000x3) it should not take the current value in the text box for calculation.. it should take the user entered value.
Reply
Answers (
4
)
How to select listbox item into textbox in wpf
How to get current date in textblock in xaml wpf?