Hi,
I am trying to set the Zoombar preview content as following. Getting Error because timeline zoombar is null.
xaml:
<igControls:XamWebZoombar Name="Zoombar" Height="35" Grid.Row="1"> </igControls:XamWebZoombar>
Codebehind:
DateTimeAxis zoomBarAxis = new DateTimeAxis()
{
Minimum = timeBegin,
Maximum = timeEnd,
AutoRange = false,
Unit = 10,
UnitType = DateTimeUnitType.Minutes,
ShowLabelsInPreview = true,
ShowMajorTickMarks = true,
ShowLabels=true,
ShowMinorTickMarks=true
};
XamWebTimeline tempTimeLine = new XamWebTimeline();
tempTimeLine.Axis = zoomBarAxis;
Zoombar.Range.FromScaleScroll(zoomBarAxis.ScrollScale, zoomBarAxis.ScrollPosition);
Zoombar.HorizontalPreviewContent = tempTimeLine.Zoombar.HorizontalPreviewContent;
How can I see the Scale and Preview content for a zoombar which is independent of timelines?
Thanks,
Kola
Try setting these settings in LayoutUpdated Event.
http://community.infragistics.com/forums/p/27539/103017.aspx#103017
I am able to set the Scale Range on UserControl_Loaded, But not able to see Scale Labels\Content.
So tried this command to get PreviewContent, still Zoombar is null.
Want to get Scale Labels, Major Ticks, Minor Ticks on Independent Zoombar.
I tried to set the same in LayoutUpdated Event, still same issue.