1 write to MapSource
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
51
mapControl.lookupWindowManager.
MapSource
= mapControl.MapSource;
24 references to MapSource
System.Data (24)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (24)
320
get { return (null ==
MapSource
|| 0.0 ==
MapSource
.ViewportWidth ? 1.0 :
MapSource
.ViewportWidth); }
325
get { return (null ==
MapSource
|| 0.0 ==
MapSource
.ViewportHeight ? 1.0 :
MapSource
.ViewportHeight); }
391
if (null !=
MapSource
&& 0 != this.lookupWindow.Width && 0 != this.lookupWindow.Height)
393
MapSource
.ScrollToHorizontalOffset((left / this.lookupWindow.Width) * VisibleSourceWidth);
394
MapSource
.ScrollToVerticalOffset((top / this.lookupWindow.Height) * VisibleSourceHeight);
404
if (!this.lookupWindow.IsSelected && null !=
MapSource
)
408
this.lookupWindow.Width * (
MapSource
.HorizontalOffset / VisibleSourceWidth);
411
this.lookupWindow.Height * (
MapSource
.VerticalOffset / VisibleSourceHeight);
441
if (this.
MapSource
.ScrollableWidth != 0 && this.
MapSource
.ExtentWidth != 0)
443
width = (this.
MapSource
.ViewportWidth / this.
MapSource
.ExtentWidth) * this.MapWidth;
449
if (this.
MapSource
.ScrollableHeight != 0 && this.
MapSource
.ExtentHeight != 0)
451
height = (this.
MapSource
.ViewportHeight / this.
MapSource
.ExtentHeight) * this.MapHeight;
463
if (this.
MapSource
.ExtentWidth != 0 && this.
MapSource
.ExtentHeight != 0)
466
double widthToHeightRatio = this.
MapSource
.ExtentWidth / this.
MapSource
.ExtentHeight;