Hi,
I am embedding an UltraTrackbar in a WinGrid control and everything works fine except for the fact that I'm not able to set certain properties on the Trackbar control itself. The three properties I would like to set are TrackClickAction, SmallChange and LargeChage. The changes I try to apply, either programmatically or in the properties window are ignored.
Thanks!
Steve
Hi Steve,
You can make these changes by applying them to the editor instead of the control. Add the following code to your project, anywhere after setting the editor:
Infragistics.Win.TrackBarEditor trackBarEditor = ultraGrid1.DisplayLayout.Bands[0].Columns["Track"].Editor as Infragistics.Win.TrackBarEditor;trackBarEditor.TrackClickAction = TrackClickAction.UseSmallChange;trackBarEditor.SmallChange = 2;trackBarEditor.LargeChange = 10;
Please let me know if you have any questions.
Mike,
Awesome, that's just what I needed.