PageRenderTime 18ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/Main/src/DynamicDataDisplay.Maps/Charts/TiledRendering/OneThreadRenderingMap.cs

#
C# | 39 lines | 36 code | 3 blank | 0 comment | 0 complexity | d8aac91243cabc86994030688b38bd85 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5using Microsoft.Research.DynamicDataDisplay.Charts.Maps;
 6using System.Windows;
 7using System.Windows.Markup;
 8using System.Windows.Data;
 9using Microsoft.Research.DynamicDataDisplay.Maps.Servers;
10using System.Collections;
11using Microsoft.Research.DynamicDataDisplay.Maps.Servers.Network;
12using Microsoft.Research.DynamicDataDisplay.Common;
13using System.ComponentModel;
14using Microsoft.Research.DynamicDataDisplay.Common.Auxiliary;
15using System.Windows.Threading;
16using System.Windows.Media;
17
18namespace Microsoft.Research.DynamicDataDisplay.Maps.Charts.TiledRendering
19{
20	[ContentProperty("VisualToRender")]
21	public class OneThreadRenderingMap : RenderingMap
22	{
23		public OneThreadRenderingMap()
24		{
25		}
26
27		public OneThreadRenderingMap(FrameworkElement visualToRender)
28			: this()
29		{
30			VisualToRender = visualToRender;
31		}
32
33		public FrameworkElement VisualToRender
34		{
35			get { return RenderTileServer.VisualToRender; }
36			set { RenderTileServer.VisualToRender = value; }
37		}
38	}
39}