コード例 #1
0
        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);
            }
        }
コード例 #2
0
        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);
            }
        }