Community
Hi folks,
I have created a ribbon in AutoCAD 2013 and I want to add a RibbonSlider over it.
I wrote below code-
RibbonSlider slide=new RibbonSlider();
slide.TextBox1Text = Convert.ToString(slide.Value);
slide.TextBox1Visibility = System.Windows.Visibility.Visible;
slide.Maximum=100.0;
slide.Minimum = 0.0;
slide.ShowText = true;
But when I drag the tab, the value in Textbox doesn't change.
Please help with piece of code.
Regards,
Kapil.
Hi Kapil,
Please try binding them as :
textBox.TextValueBinding = slider.ValueBinding