Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
how to zoombar as a seperate control with preview details?
posted

I want to use XamZoombar as a seperate control as an integrated control with the other control, is there any possibility.

I want to display the Timline details on the "Preview Area" when used as a seperate control with the other controls, let me know how i can achieve that?

Is it possible to set scale, and scroll in the control tag or at the load time.

My tag Zoom tag is as below.
<IGControls:XamWebZoombar x:Name="igZoomBar"
            PreviewSizeUpdated="XamWebZoombar_PreviewSizeUpdated"
            Width="240" Height="50"    Minimum="1"
            Maximum="20"
            ZoomChanged="XamWebZoombar_ZoomChanged"
            ZoomChanging="XamWebZoombar_ZoomChanging" />
I tried to set like this.....
private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            Infragistics.Silverlight.Controls.Range rnge = new Infragistics.Silverlight.Controls.Range();
            rnge.FromScaleScroll(0.4, 0.2);
            //igZoomBar.Range = rnge;
            igZoomBar.SetValue(XamWebZoombar.RangeProperty, rnge);
        }
The above approach is not success.

Please let me know.
How to achieve the specified features in my post?