Placed slider control in menu tool. Slider works well, but the problem is drop down closes on click of left / right arrows of slider. Due to this user cannot set the value of slider as the drop down closes on single click.
<igRibbon:RibbonGroup Caption ="Slider Group" >
<igRibbon:MenuTool Caption="Slider Control">
<ig:XamNumericSlider Name="Slider" MinValue="0" MaxValue="50" Value="25" Width="140" Height="22" />
</igRibbon:MenuTool>
</igRibbon:RibbonGroup>
Can you provide me a solution for this problem.
Note: I dont want to place the slider in ribbon group due to space constraint.
Hello Yugandher,
I have been looking into your issue and I have created a sample application where I am checking whether the arrows of the XamNumericSlider are clicked and if it is so, I set the ‘IsOpen’ property of the MenuToll to “true”.
If you need any further assistance on this matter, feel free to ask.
Thanks for the response Yanko.
Is there any other way I can achieve this without any code behind.
yugandherN said: Is there any other way I can achieve this without any code behind.
Hi,
Tha new Service Release is already out. You can download it from your Account in our website.
yugandherN said: Can I set the RepeatButton 'Focusable' property to 'false' in xamnumericslider using styles in xaml instead of code behind?
Can I set the RepeatButton 'Focusable' property to 'false' in xamnumericslider using styles in xaml instead of code behind?
Yes you could take a copy of the xamNumericSlider style and its related resources/styles from the DefaultStyles directory, include them in your app.resources and set the Focusable to false on the RepeatButtons within those. Or you could wait until the issue that has been submitted has been fixed.
Thanks for the response Andrew.
Setting 'Focusable' property to false for buttons have solved the problem of placing usercontrols in menutool.