DoubleEditBox Multibinding Support

Editors for WPF Forum

Posted 8 years ago by MCRXB
Version: 11.2.0552
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

I'm having issues when I try to multibind the value of doubleeditbox as seen below:

<editors:DoubleEditBox ValueChanged="LollipopMill_ValueChanged" Width="80" x:Name="LollipopMillChamferLength">
<editors:DoubleEditBox.Value>
<Multibinding Converter="{StaticResource AngleLengthConverter}">
<Binding ElementName="LollipopMillShankDiameter" Path="Value" />
<Binding ElementName="LollipopMillShoulderDiameter" Path="Value" />
<Binding ElementName="LollipopMillChamferAngle" Path="Value" />
</Multibinding>
</editors:DoubleEditBox.Value>
</editors:DoubleEditBox>

Any help would be greatly appreciated.

Comments (1)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

What specifically is the issue you are having? What you have looks fine, but your AngleLengthConverter would have to be smart enough to convert the double from the LollipopMillChamferLength control into 3 separate values in it's ConvertBack method (which would probably not be mathematically possible).

[Modified 8 years ago]


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.