C# WPF UI Tutorials: 24 - Advanced Edit Text Control

preview_player
Показать описание
Part of a series of tutorials on creating WPF applications in C#

We create an awesome view model bound text control that allows the user to inline edit a text value. Perfect for the settings page

Рекомендации по теме
Комментарии
Автор

I subscribed just yesterday and here you are with another quality content. Please keep doing this great work. Thank you.

Funnydude
Автор

heyyyy im a new subscriber and i havent watched your videos yet. i jumped here and there and man you must continue. i have always struggled with wpf and you are a saviour. ill be going through all your videos this week and want you to be my mentor.
im an amateur programmer but aiming to be pro. however it will be a professional hobby and not related to main job.
all the best.

DarkNightSonata
Автор

Thank you so much for keeping up with these tutorials! This is so helpful and it inspires me to keep on learning

gargar_
Автор

Can't wait for the next video! Keep it up mate! Awesome work.

TheBirdey
Автор

thanks bro for lectures
I really love your videos
Would like to gently request if you can make a video on how to create an editable page like that of microsoft word which can auto insert pages
Thanks in advance

johnolive
Автор

For some reason accepting the change in the control by hitting Enter button does not update it (EditedText value is not being replaced with what was typed in), but when i click on the save button by mouse EditedText is properly changed to what was typed in during editing. If anyone else has encountered same issue just add to EditedText binding.

Krzywuseczek
Автор

thank you very much man
this is the best wpf tutorial

krimbelkacem
Автор

Great Video!
How would you do data validation here? Checking the password is long or complext enough for example. Or that the text boxes are not empty etc.
Would you do it directly in the controls view model or somewhere else?

gfrost
Автор

I've made some text entry controls like the ones in this video. I would like to focus the textbox on them after a button press elsewhere in the application. Like when I hit the 'update' button that lives in another control, I'd like to focus the textbox that has the main input for the current page. If that makes sense

pnkfld
Автор

Love your videos...I am learning so much...thank you for that...quick question, what key combination are you using to find files in your solution?

genelarose
Автор

Thanks for the awesome video. I am sure this video will be very helpful in my application that I am making.

barryjohnson
Автор

Hey Luke, I'm having a lot of trouble to get the TextBox focused. I've already tried to delete the .vs, bin and obj folders, and to delete the attached property, build the app and add the attached property again as someone else commented. Do you have any idea what is going on?
By the way, your tutorials are the best and I have learned a lot from them.
Greetings from Mexico

sergiocamacho
Автор

Another well explained tutorial. I have a quick question. After I added the TextEntryControls to the StackPanel in the SettingsControl whenever I edit one of these controls it makes changes to all the others (I assumed because they're all referencing the same static TextEntryDesignModel instance). How did you get it to make separate instances of the TextEntryDesignModel?

EasyEars
Автор

Hi, nice work again :).

Do you plan to create a service(send and recieve messages, process data to db, etc...) to this chat application as a new series of tutorial? I know how to create services, i no need tutorial . But your code looks very well and cleany. I like your tuts ;)

emem
Автор

I have created a control similar to this one, it repeats 13 times. In this control is a button with a command that brings me to another page. Is there away to find out which button was pressed? Right now i have just created 13 commands one for each button saving an integer so I know which was pressed. There must be a better way, what if i have more than one button in each control.

TheDanderle
Автор

Good day Sir. I just want to ask, is it okay to use System.Windows.InterActivity for raising a command in datagrid like selectionchanged and bind it to a RelayCommand?

Sorry for my question, I am new in WPF.


Nice vid by the way. Currently I'm in Episode 19 of your tutorial. Great work thanks!! :)

yajra.mendoza
Автор

At the 35 minute mark when trying to make the text box auto focus, it's not working for me.
I put a breakpoint in the OnValueChanged for FocusProperty, and it steps into the control.Focus()....but the control never pulls the focus.

Any suggestions?

pnkfld
Автор

do you plan on doing animations with expression blend?

HornCamp
Автор

my friend are you going to make an auto complete search box ?

barryjohnson
Автор

git hub source code is a little different from video, is that right?

montaguth