DoubleEditBox: PropertyChanged doesn't work

Editors for WPF Forum

Posted 10 years ago by Bernhard Wahl
Version: 9.2.0513
Platform: .NET 3.5
Environment: Windows Vista (32-bit)
Avatar
<Editors:DoubleEditBox x:Name="AmountTextBox"
Width="240"
FontSize="14"
VerticalAlignment="Center"
Grid.Column="1"
Minimum="0"
IsNullAllowed="true"
IsNullContentVisible="False"
PromptIndicatorVisibility="Never"
Value="{Binding Path=Amount, Source={StaticResource subsetWindowViewModel}, UpdateSourceTrigger=PropertyChanged}">
</Editors:DoubleEditBox>

The editbox has a binding which should get fired after "PropertyChanged". Now i checked out that i always get a "PropertyChanged" with an old value and after i leave the textbox ("LostFocus") i get the current value set to the Amount property.

I'm working with the newest version (downloaded it today)

Please fix this bug !!!

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Bernhard,

By default, changes made by typing are not immediatlely committed from the part up to the parent PartEditBox. The changes are commited when the part loses focus or the user presses Enter. This behavior can be altered using the PartValueCommitTriggers property.

Sounds like you will want to set it to "All", which includes the StringValueChange (which encompasses typing).


Actipro Software Support

The latest build of this product (v2019.1 build 0682) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.