
Hi !
<editors:Int32EditBox
x:Name="MipmapLevel" VerticalAlignment="Center"
Width="37"
Value="{Binding Path=CurrentMipMapLevel, Mode=TwoWay}"
Maximum="{Binding Path=MaxMipMapLevel}"
Minimum="{Binding Path=MinimumMipMapLevel}"
SpinnerVisibility="Visible"/>
I use this control to set mipmaplevel and if I use the spinner of this control, everything is fine and works great. The "Value" can be changed within the limits ( min / max ) and the setter of "CurrentMipMapLevel" is triggered. BUT... if you go to the limits, the next spinner click leads you to a selection mode of this control ( e.g. you're at 7, click to max = 8 and the next up click leads you to selection of the Value 8 in the edit area of this control. From now on you can set the Value from min to max ( 0-8 ) with the spinner but the setter isn't called and a converter isn't called too. You have to remove the focus ( anyhow ) from this control to update the binding and let the setter be called. I want to avoid the selection mode after reaching a limit ( min or max ) and I need binding updates while I am in the selection mode ( if I click into the edit area of the Value ). How can I do this ? Thanks for your reply.
We use:
- ActiproSoftware.Editors.Wpf in version 11.2.553.0
- .NET Framework 4.0 ( 4.0.30319 SP1Rel
- Visual Studio 2010 Ultimate ( 10.0.40219.1 SP1Rel )