Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Label edited cannot get event (WPF) (Read 1860 times)
Francesco
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Joined: Apr 10th, 2017
Label edited cannot get event (WPF)
May 10th, 2017 at 11:08pm
Print Post  
In WPF, LinkTextEdited seems not to be raised when the user modifies a label of a link.
Is it true? How can I get and process this event?
  
Back to top
 
IP Logged
 
Francesco
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Joined: Apr 10th, 2017
Re: Label edited cannot get event (WPF)
Reply #1 - May 10th, 2017 at 11:26pm
Print Post  
LinkTextEditing, instead, is raised also when a label is being edited. But I cannot recognize from the event whether the Text or a label is being edited
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Label edited cannot get event (WPF)
Reply #2 - May 11th, 2017 at 9:16am
Print Post  
This build raises LinkTextEdited, and you can now find a Label property in event args, set when events are related to a LinkLabel.

https://mindfusion.eu/_temp/wpfdiag_label_events.zip

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Francesco
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 16
Joined: Apr 10th, 2017
Re: Label edited cannot get event (WPF)
Reply #3 - May 11th, 2017 at 12:34pm
Print Post  
Working perfectly!

Thank you very much!
Francesco
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint