public WaterMarkDemo() { Resources.MergedDictionaries.Add(SfChart.Resources.ColorModelResource.Resource); SneakerDetails sneaker = new SneakerDetails(); this.InitializeComponent(); this.DataContext = sneaker.SneakersDetail; if (AnalyticsInfo.VersionInfo.DeviceFamily != "Windows.Mobile") { lineSeries.SetValue(ChartTooltip.VerticalAlignmentProperty, VerticalAlignment.Top); } }
public WaterMarkDemo() { SneakerDetails sneaker = new SneakerDetails(); this.InitializeComponent(); this.DataContext = sneaker.SneakersDetail; if (AnalyticsInfo.VersionInfo.DeviceFamily != "Windows.Mobile") { lineSeries.SetValue(ChartTooltip.VerticalAlignmentProperty, VerticalAlignment.Top); lineSeries.SetValue(ChartTooltip.VerticalOffsetProperty, size); } }