Page 1 of 1
How to deal with Delay?
Posted: 16 Mar 2018, 08:14
by Wangshiyou
When a propertychanged ,i want to prevent its event to occur during Delay time,could anyone give me a suggestion? Thanks a lot
Re: How to deal with Delay?
Posted: 16 Mar 2018, 10:53
by jsantos
This is not related to Noesis so probably not the best place to ask about it. Anyway, have you tried this?
https://stackoverflow.com/questions/155 ... ion-in-wpf
Re: How to deal with Delay?
Posted: 16 Mar 2018, 11:06
by Wangshiyou
<TextBox Text="{Binding ElementName=txtSampleText, Path=FontSize, Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged, Delay=500}" Name="txtFontSize"></TextBox>
I main when i put xaml into ue4 ,Delay just cannot work, Delay is a property of trigger , if it cannot be directly implemented, should i set a custom eventtrigger and then accomplish this Delay fuction
Re: How to deal with Delay?
Posted: 16 Mar 2018, 11:18
by jsantos
Oh, sorry for misunderstanding you. Yes,
Binding.Delay is not implemented. Could you please
report about it? Thanks!
Re: How to deal with Delay?
Posted: 03 Apr 2018, 04:59
by UE4
Hi,
How can use Clock or Timeline to implement a delay delegate? I see some WPF use Threading/ Timer do this, but nothing about Clock or Timeline
I want to implement a LongPress for my UserControl, instead of ViewModel, so I think it's not a good ideal to reference something in UE4.