MapControl 類別

定義

代表地球的符號或相片復寫地圖。

public ref class MapControl sealed : Control
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.UI.Xaml.Markup.ContentProperty(Name="Children")]
class MapControl final : Control
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.UI.Xaml.Markup.ContentProperty(Name="Children")]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class MapControl final : Control
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.UI.Xaml.Markup.ContentProperty(Name="Children")]
public sealed class MapControl : Control
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.UI.Xaml.Markup.ContentProperty(Name="Children")]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MapControl : Control
Public NotInheritable Class MapControl
Inherits Control
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl/>
- or -
<Maps:MapControl></Maps:MapControl>

繼承
Object Platform::Object IInspectable DependencyObject UIElement FrameworkElement Control MapControl
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

XAML 附加屬性

MapControl 是數個 XAML 附加屬性的主機服務類別。

為了支援 XAML 處理器存取附加屬性,以及公開對等 的 getset 作業給程式代碼,每個 XAML 附加屬性都有一對 Get 和 Set 存取子方法。 在程式代碼中取得或設定值的另一種方式是使用相依性屬性系統,呼叫 GetValueSetValue ,並將標識符字段傳遞為相依性屬性識別符。

附加屬性 Description
位置 取得或設定 MapControl 子專案的位置。
NormalizedAnchorPoint 取得或設定 MapControl 子專案的錨點。

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1511 10586 MapRightTapped
1607 14393 BusinessLandmarksEnabled
1607 14393 GetVisibleRegion
1607 14393 TransitFeaturesEnabled
1703 15063 FindMapElementsAtOffset (Point,Double)
1703 15063 GetLocationFromOffset (Point,AltitudeReferenceSystem,Geopoint&)
1703 15063 MapContextRequested
1703 15063 MapProjection
1703 15063 StartContinuousPan
1703 15063 StopContinuousPan
1703 15063 樣式 表
1703 15063 TryPanAsync
1703 15063 TryPanToAsync
1703 15063 ViewPadding
1709 16299 圖層
1709 16299 TryGetLocationFromOffset (Point,Geopoint&)
1709 16299 TryGetLocationFromOffset (Point,BalancerReferenceSystem,Geopoint&)
1803 17134 區域
1903 18362 CanTiltDown
1903 18362 CanTiltUp
1903 18362 CanZoomIn
1903 18362 CanZoomOut

建構函式

MapControl()

初始化 MapControl 類別的新實例。

屬性

AccessKey

取得或設定這個專案的訪問鍵 (助記鍵) 。

(繼承來源 UIElement)
AccessKeyScopeOwner

取得或設定提供這個專案存取索引鍵範圍的來源專案,即使它不在來源專案的可視化樹狀結構中也一樣。

(繼承來源 UIElement)
ActualCamera

取得定義相機目前位置的 MapCamera 設定。

ActualHeight

取得 FrameworkElement 的呈現高度。 請參閱<備註>。

(繼承來源 FrameworkElement)
ActualOffset

取得這個 UIElement 的位置,相對於其父系,在配置程式的排列階段期間計算。

(繼承來源 UIElement)
ActualSize

取得此 UIElement 在配置程式的排列階段期間計算的大小。

(繼承來源 UIElement)
ActualTheme

取得專案目前使用的UI主題,可能與 RequestedTheme不同。

(繼承來源 FrameworkElement)
ActualWidth

取得 FrameworkElement 的呈現寬度。 請參閱<備註>。

(繼承來源 FrameworkElement)
AllowDrop

取得或設定值,這個值會決定此 UIElement 是否可為拖放作業的置放目標。

(繼承來源 UIElement)
AllowFocusOnInteraction

取得或設定值,這個值表示當使用者與其互動時,專案是否會自動取得焦點。

(繼承來源 FrameworkElement)
AllowFocusWhenDisabled

取得或設定停用的控制項是否可以接收焦點。

(繼承來源 FrameworkElement)
Background

取得或設定提供控件背景的筆刷。

(繼承來源 Control)
BackgroundSizing

取得或設定值,這個值表示背景相對於這個專案框線的延伸距離。

(繼承來源 Control)
BaseUri

取得統一資源識別元 (URI) ,代表 XAML 載入時間 XAML 建構物件的基底統一資源識別元 (URI) 。 此屬性適用於運行時間的統一資源標識碼 (URI) 解析。

(繼承來源 FrameworkElement)
BorderBrush

取得或設定描述控制件框線填滿的筆刷。

(繼承來源 Control)
BorderThickness

取得或設定控制項的框線粗細。

(繼承來源 Control)
BusinessLandmarksEnabled

這個屬性未實作。

BusinessLandmarksEnabledProperty

這個屬性未實作。

BusinessLandmarksVisible

取得或設定值,指出是否在地圖上顯示企業。

BusinessLandmarksVisibleProperty

識別 BusinessLandmarksVisible 相依性屬性。

CacheMode

取得或設定值,這個值表示盡可能將轉譯的內容快取為復合位圖。

(繼承來源 UIElement)
CanBeScrollAnchor

取得或設定值,這個值表示 UIElement 是否可為卷動錨定候選專案。

(繼承來源 UIElement)
CanDrag

取得或設定值,這個值表示是否可以將專案拖曳為拖放作業中的數據。

(繼承來源 UIElement)
CanTiltDown

取得值,指出地圖是否可以向下傾斜

CanTiltDownProperty

識別 CanTiltDown 相依性屬性。

CanTiltUp

取得值,指出地圖是否可以向上傾斜

CanTiltUpProperty

識別 CanTiltUp 相依性屬性。

CanZoomIn

取得值,指出地圖是否可以放大

CanZoomInProperty

識別 CanZoomIn 相依性屬性。

CanZoomOut

取得值,指出地圖是否可以縮小

CanZoomOutProperty

識別 CanZoomOut 相依性屬性。

Center

取得或設定地圖的中心。

CenterPoint

取得或設定專案的中心點,也就是發生旋轉或縮放的點。 影響項目的轉譯位置。

(繼承來源 UIElement)
CenterProperty

識別 中心 相依性屬性。

CharacterSpacing

取得或設定字元之間的統一間距,單位為 em 的 1/1000。

(繼承來源 Control)
Children

取得 MapControl 子系的物件集合。

ChildrenProperty

識別 Children 相依性屬性。

Clip

取得或設定用來定義UIElement內容的大綱的 RectangleGeometry

(繼承來源 UIElement)
ColorScheme

取得或設定地圖的色彩配置,例如淺色或深色。

ColorSchemeProperty

識別 ColorScheme 相依性屬性。

CompositeMode

取得或設定屬性,這個屬性會宣告其父版面配置和視窗中專案的替代組合和混合模式。 這與混合 XAML/Microsoft DirectX UI 相關的元素相關。

(繼承來源 UIElement)
ContextFlyout

取得或設定與這個項目相關聯的飛出視窗。

(繼承來源 UIElement)
CornerRadius

取得或設定控件框線角落的半徑。

(繼承來源 Control)
CustomExperience

取得或設定 MapControl 的自定義體驗。

DataContext

取得或設定 FrameworkElement 的數據內容。 數據內容的常見用法是 當 FrameworkElement 使用 {Binding} 標記延伸並參與數據系結時。

(繼承來源 FrameworkElement)
DefaultStyleKey

取得或設定參考控件預設樣式的索引鍵。 自定義控件的作者會使用此屬性來變更其控件所使用的樣式預設值。

(繼承來源 Control)
DefaultStyleResourceUri

取得或設定資源文件的路徑,其中包含控件的默認樣式。

(繼承來源 Control)
DesiredPitch

取得或設定值,這個值表示您希望地圖傾斜的程度。 有時無法設定所需的音調。

DesiredPitchProperty

識別 DesiredPitch 相依性屬性。

DesiredSize

取得此 UIElement 在版面配置程式的量值階段期間計算的大小。

(繼承來源 UIElement)
Dispatcher

取得與此對象相關聯的 CoreDispatcherCoreDispatcher 代表可以存取 UI 線程上 DependencyObject 的功能,即使程式代碼是由非 UI 線程起始也一樣。

(繼承來源 DependencyObject)
ElementSoundMode

取得或設定值,指定是否播放音效的控件喜好設定。

(繼承來源 Control)
ExitDisplayModeOnAccessKeyInvoked

取得或設定值,這個值會指定叫用存取金鑰時,是否關閉存取密鑰顯示。

(繼承來源 UIElement)
FlowDirection

取得或設定文字和其他UI元素在控制其版面配置的任何父元素內流動的方向。 這個屬性可以設定為 LeftToRightRightToLeft。 在任何元素上將 FlowDirection 設定為 RightToLeft ,會將對齊方式設定為右側、從右至左的讀取順序,以及控件從右至左流動的版面配置。

(繼承來源 FrameworkElement)
FocusState

取得值,指定這個控件是否有焦點,以及取得焦點的模式。

(繼承來源 Control)
FocusVisualMargin

取得或設定 FrameworkElement 焦點視覺效果的外部邊界。

(繼承來源 FrameworkElement)
FocusVisualPrimaryBrush

取得或設定筆刷,用來繪製 FrameworkElement 之或Reveal焦點視覺效果的外部HighVisibility框線。

(繼承來源 FrameworkElement)
FocusVisualPrimaryThickness

取得或設定 FrameworkElement 之外部Reveal框線的HighVisibility粗細。

(繼承來源 FrameworkElement)
FocusVisualSecondaryBrush

取得或設定筆刷,用來繪製 FrameworkElement 之或Reveal焦點視覺效果的內部HighVisibility框線。

(繼承來源 FrameworkElement)
FocusVisualSecondaryThickness

取得或設定 FrameworkElementHighVisibilityReveal焦點視覺效果的內部框線粗細。

(繼承來源 FrameworkElement)
FontFamily

取得或設定顯示控制項的文字所用的字型。

(繼承來源 Control)
FontSize

取得或設定這個控制件中的文字大小。

(繼承來源 Control)
FontStretch

取得或設定螢幕上字型緊縮或加寬的程度。

(繼承來源 Control)
FontStyle

取得或設定呈現文字的樣式。

(繼承來源 Control)
FontWeight

取得或設定指定字型的粗細。

(繼承來源 Control)
Foreground

取得或設定描述前景色彩的筆刷。

(繼承來源 Control)
Heading

取得或設定地圖的方向標題,其中 0 或 360 = North、90 = East、180 = South 和 270 = West。

HeadingProperty

識別 標題 相依性屬性。

Height

取得或設定 FrameworkElement 的建議高度。

(繼承來源 FrameworkElement)
HighContrastAdjustment

取得或設定值,這個值表示當啟用高對比度主題時,架構是否會自動調整專案的視覺屬性。

(繼承來源 UIElement)
HorizontalAlignment

取得或設定在版面配置父系中撰寫時套用至 FrameworkElement 的水準對齊特性,例如面板或專案控件。

(繼承來源 FrameworkElement)
HorizontalContentAlignment

取得或設定控制項內容的水平對齊。

(繼承來源 Control)
Is3DSupported

取得值,指出地圖內是否支援 3D。

Is3DSupportedProperty

識別 Is3DSupported相 依性屬性。

IsAccessKeyScope

取得或設定值,這個值表示專案是否定義自己的訪問鍵範圍。

(繼承來源 UIElement)
IsDoubleTapEnabled

取得或設定值,這個值會判斷 DoubleTapped 事件是否可能來自該專案。

(繼承來源 UIElement)
IsEnabled

取得或設定值,指出使用者是否可以與控件互動。

(繼承來源 Control)
IsFocusEngaged

取得或設定值,這個值表示焦點是否受限於遊戲板/遠端互動 (控件界限) 。

(繼承來源 Control)
IsFocusEngagementEnabled

取得或設定值,指出焦點是否可以限制在控制界限內, (遊戲板/遠端互動) 。

(繼承來源 Control)
IsHitTestVisible

取得或設定這個 UIElement 的包含區域是否可以傳回 true 值來進行點擊測試。

(繼承來源 UIElement)
IsHoldingEnabled

取得或設定值,這個值會判斷 Holding 事件是否可以來自該專案。

(繼承來源 UIElement)
IsLoaded

取得值,這個值表示專案是否已加入至專案樹狀結構,且已準備好進行互動。

(繼承來源 FrameworkElement)
IsRightTapEnabled

取得或設定值,這個值會判斷 RightTapped 事件是否可能來自該專案。

(繼承來源 UIElement)
IsStreetsideSupported

取得值,指出地圖內是否支援 Streetside。

IsStreetsideSupportedProperty

識別 IsStreetsideSupported 相依性屬性。

IsTabStop

取得或設定值,這個值表示控制項是否包含於索引標籤巡覽。

(繼承來源 Control)
IsTapEnabled

取得或設定值,這個值會判斷 Tapped 事件是否可能來自該專案。

(繼承來源 UIElement)
IsTextScaleFactorEnabled

取得或設定是否啟用自動放大文字,以反映系統文字大小設定。

(繼承來源 Control)
KeyboardAcceleratorPlacementMode

取得或設定值,這個值表示控件 工具提示 是否顯示其相關聯鍵盤快捷方式的按鍵組合。

(繼承來源 UIElement)
KeyboardAcceleratorPlacementTarget

取得或設定值,這個值表示顯示快速鍵組合的控件 工具提示

(繼承來源 UIElement)
KeyboardAccelerators

取得使用鍵盤叫用動作的按鍵組合集合。

快捷鍵通常會指派給按鈕或功能表項。

顯示各種功能表項鍵盤快捷鍵的功能表範例
顯示各種功能表項鍵盤快捷鍵的功能表範例

(繼承來源 UIElement)
KeyTipHorizontalOffset

取得或設定值,這個值表示相對於UIElement放置按鍵提示的左邊或右邊。

(繼承來源 UIElement)
KeyTipPlacementMode

取得或設定值,這個值表示相對於UIElement界限放置訪問鍵按鍵提示的位置。

(繼承來源 UIElement)
KeyTipTarget

取得或設定值,這個值表示以訪問鍵提示為目標的專案。

(繼承來源 UIElement)
KeyTipVerticalOffset

取得或設定值,這個值表示相對於UI元素放置按鍵提示的上下距離。

(繼承來源 UIElement)
LandmarksVisible

取得或設定值,指出地圖上是否顯示 3D 建築物。

LandmarksVisibleProperty

識別 LandmarksVisible 相依性屬性。

Language

取得或設定套用至 FrameworkElement 的當地語系化/全球化語言資訊,以及套用至物件表示法和 UI 中目前 FrameworkElement 的所有子元素。

(繼承來源 FrameworkElement)
Layers

取得 MapLayer 物件的集合,這些物件是 MapControl 的子系。

LayersProperty

識別 Layers 相依性屬性。

Lights

取得附加至這個專案的 XamlLight 物件集合。

(繼承來源 UIElement)
LoadingStatus

取得要顯示在 MapControl 中的地圖載入狀態。

LoadingStatusProperty

識別 LoadingStatus 相依性屬性。

LocationProperty

識別 MapControl.Location XAML 附加屬性。

ManipulationMode

取得或設定用於UIElement行為與手勢互動的ManipulationModes值。 設定此值可讓您處理來自應用程式程式碼中這個專案的操作事件。

(繼承來源 UIElement)
MapElements

取得 MapControl 子系的 MapElement 物件集合。

MapElementsProperty

識別 MapElements 相依性屬性。

MapProjection

取得或設定 MapProjection ,指定如何轉換地圖的緯度和經度。

MapProjectionProperty

識別 MapProjection 相依性屬性。

MapServiceToken

取得或設定使用 MapControl 和在線對應服務所需的驗證密鑰。

MapServiceTokenProperty

識別 MapServiceToken 相依性屬性。

Margin

取得或設定 FrameworkElement 的外部邊界。

(繼承來源 FrameworkElement)
MaxHeight

取得或設定 FrameworkElement 的最大高度條件約束。

(繼承來源 FrameworkElement)
MaxWidth

取得或設定 FrameworkElement 的最大寬度條件約束。

(繼承來源 FrameworkElement)
MaxZoomLevel

取得地圖的最大縮放層級。

MinHeight

取得或設定 FrameworkElement 的最小高度條件約束。

(繼承來源 FrameworkElement)
MinWidth

取得或設定 FrameworkElement 的最小寬度條件約束。

(繼承來源 FrameworkElement)
MinZoomLevel

取得地圖的最小縮放層級。

Name

取得或設定 對象的識別名稱。 當 XAML 處理器從 XAML 標記建立物件樹狀結構時,運行時間程式代碼可以依這個名稱參考 XAML 宣告的物件。

(繼承來源 FrameworkElement)
NormalizedAnchorPointProperty

識別 MapControl.NormalizedAnchorPoint XAML 附加屬性。

Opacity

取得或設定物件的不透明度程度。

(繼承來源 UIElement)
OpacityTransition

取得或設定 ScalarTransition,以動畫顯示 Opacity 屬性的變更。

(繼承來源 UIElement)
Padding

取得或設定控制項內部的邊框間距。

(繼承來源 Control)
PanInteractionMode

取得或設定值,指出地圖上是否辨識移動瀏覽手勢。

PanInteractionModeProperty

識別 PanInteractionMode 相依性屬性。

Parent

取得物件樹狀結構中這個 FrameworkElement 的父物件。

(繼承來源 FrameworkElement)
PedestrianFeaturesVisible

取得或設定值,這個值會指出地圖上是否顯示公用階梯等交通特徵。

PedestrianFeaturesVisibleProperty

識別 一個可辨識的DependencFeaturesVisible 相依性屬性。

Pitch

取得地圖的實際間距。 有時無法設定 DesiredPitch 屬性來要求音調。

PitchProperty

識別 Pitch 相依性屬性。

PointerCaptures

取得所有擷取指標的集合,表示為 指標 值。

(繼承來源 UIElement)
Projection

取得或設定轉譯這個專案時要套用的 3D 效果) (3D 效果。

(繼承來源 UIElement)
Region

取得或設定區域 (,例如位址的州或省) 。

RegionProperty

識別 Region 相依性屬性。

RenderSize

取得 UIElement的最終轉譯大小。 不建議使用,請參閱。

(繼承來源 UIElement)
RenderTransform

取得或設定會影響 UIElement轉譯位置的轉換資訊。

(繼承來源 UIElement)
RenderTransformOrigin

取得或設定 RenderTransform 所宣告之任何可能轉譯轉換的原點,相對於 UIElement 的界限。

(繼承來源 UIElement)
RequestedTheme

取得或設定 UIElement (及其子元素所使用的 UI 主題,) 資源判斷。 您使用 RequestedTheme 指定的 UI 主題可以覆寫應用層級 RequestedTheme

(繼承來源 FrameworkElement)
RequiresPointer

取得或設定UI元素是否支援滑鼠模式,以模擬非指標輸入裝置的指標互動體驗,例如遊戲板或遠端控制。

(繼承來源 Control)
Resources

取得本機定義的資源字典。 在 XAML 中,您可以透過 XAML 隱含集合語法,將資源專案建立為屬性元素的 frameworkElement.Resources 子物件專案。

(繼承來源 FrameworkElement)
RotateInteractionMode

取得或設定值,這個值表示地圖是否響應旋轉手勢,以及對應的UI控件是否出現在地圖上。

RotateInteractionModeProperty

識別 RotateInteractionMode 相依性屬性。

Rotation

取得或設定順時針旋轉的角度,以度為單位。 相對於 RotationAxis 和 CenterPoint 旋轉。 影響項目的轉譯位置。

(繼承來源 UIElement)
RotationAxis

取得或設定座標軸,以繞著旋轉專案。

(繼承來源 UIElement)
RotationTransition

取得或設定 ScalarTransition,以動畫顯示 Rotation 屬性的變更。

(繼承來源 UIElement)
Routes

取得地圖上顯示的 MapRouteView 物件集合。

RoutesProperty

識別 Route 相依性屬性。

Scale

取得或設定專案的刻度。 相對於專案的 CenterPoint 進行調整。 影響項目的轉譯位置。

(繼承來源 UIElement)
ScaleTransition

取得或設定 Vector3Transition,以動畫顯示 Scale 屬性的變更。

(繼承來源 UIElement)
Scene

取得或設定與此 MapControl 相關聯的 MapScene

SceneProperty

識別 場景 相依性屬性。

Shadow

取得或設定 元素所轉換的陰影效果。

(繼承來源 UIElement)
Style

指定地圖的樣式,例如藍圖或空照圖。

StyleProperty

識別 Style 相依性屬性。

StyleSheet

取得或設定 對象,這個物件會定義地圖控件的樣式。

StyleSheetProperty

識別 StyleSheet 相依性屬性。

TabFocusNavigation

取得或設定值,這個值會修改Tabbing和 TabIndex 對此控件的運作方式。

(繼承來源 UIElement)
TabIndex

取得或設定值,指出當使用者使用 Tab 鍵瀏覽應用程式 UI 時,元素接收焦點的順序。

(繼承來源 Control)
TabNavigation

取得或設定值,這個值會修改Tabbing和 TabIndex 對此控件的運作方式。

注意

針對 Windows 10 Creators Update (組建 10.0.15063) 和更新版本,TabFocusNavigation 屬性可在 UIElement 基類上使用,以在不使用 ControlTemplate 的索引卷標序列中包含物件。

(繼承來源 Control)
Tag

取得或設定可用來儲存此物件之自定義資訊的任意物件值。

(繼承來源 FrameworkElement)
TargetCamera

取得定義相機最終位置的 MapCamera 設定。

Template

取得或設定控制項範本。 控件範本會定義 UI 中控制件的視覺外觀,並在 XAML 標記中定義。

(繼承來源 Control)
TileSources

取得或設定 MapControl 子系之 MapTileSource 物件的集合。

TileSourcesProperty

識別 TileSources 相依性屬性。

TiltInteractionMode

取得或設定值,這個值表示地圖是否響應傾斜手勢,以及對應的UI控件是否出現在地圖上。

TiltInteractionModeProperty

識別 TiltInteractionMode 相依性屬性。

TrafficFlowVisible

取得或設定值,指出地圖上是否顯示交通狀況。

TrafficFlowVisibleProperty

識別 TrafficFlowVisible 相依性屬性。

Transform3D

取得或設定轉譯這個專案時要套用的 3D 轉換效果。

(繼承來源 UIElement)
TransformMatrix

取得或設定要套用至項目的轉換矩陣。

(繼承來源 UIElement)
TransformOrigin

取得或設定對應邏輯中心的轉換點。

TransformOriginProperty

識別 TransformOrigin 相依性屬性。

TransitFeaturesEnabled

這個屬性未實作。

TransitFeaturesEnabledProperty

這個屬性未實作。

TransitFeaturesVisible

取得或設定值,指出地圖上是否顯示傳輸特徵。

TransitFeaturesVisibleProperty

識別 TransitFeaturesVisible 相依性屬性。

Transitions

取得或設定套用至 UIElementTransition 樣式專案集合。

(繼承來源 UIElement)
Translation

取得或設定專案的 x、y 和 z 轉譯位置。

(繼承來源 UIElement)
TranslationTransition

取得或設定 Vector3Transition,以動畫顯示 Translation 屬性的變更。

(繼承來源 UIElement)
Triggers

取得針對 FrameworkElement 定義的動畫觸發程式集合。 不常使用。 請參閱<備註>。

(繼承來源 FrameworkElement)
UIContext

取得專案的內容識別碼。

(繼承來源 UIElement)
UseLayoutRounding

取得或設定值,這個值會決定物件及其視覺子樹的轉譯是否應該使用四捨五入行為,將轉譯對齊整個圖元。

(繼承來源 UIElement)
UseSystemFocusVisuals

取得或設定值,這個值表示控件是否使用由系統或控件範本中定義的焦點視覺效果。

(繼承來源 Control)
VerticalAlignment

取得或設定垂直對齊特性,當 FrameworkElement 是由面板或專案控件等父物件所組成時套用至 FrameworkElement

(繼承來源 FrameworkElement)
VerticalContentAlignment

取得或設定控制項內容的垂直對齊。

(繼承來源 Control)
ViewPadding

取得或設定地圖控件內的邊框間距。

ViewPaddingProperty

識別 ViewPadding 相依性屬性。

Visibility

取得或設定 UIElement的可見性。 不可見的 UIElement 不會轉譯,而且不會將其所需的大小傳達給版面配置。

(繼承來源 UIElement)
WatermarkMode

取得或設定值,這個值會決定地圖浮水印何時顯示。

WatermarkModeProperty

識別 WatermarkMode 相依性屬性。

Width

取得或設定 FrameworkElement 的寬度。

(繼承來源 FrameworkElement)
XamlRoot

取得或設定 XamlRoot 正在檢視這個專案的 。

(繼承來源 UIElement)
XYFocusDown

取得或設定當使用者按下方向板 (D 鍵) 向下時取得焦點的物件。

(繼承來源 Control)
XYFocusDownNavigationStrategy

取得或設定值,指定用來判斷向下導覽目標元素的策略。

(繼承來源 UIElement)
XYFocusKeyboardNavigation

取得或設定值,這個值會啟用或停用使用鍵盤方向箭號的流覽。

(繼承來源 UIElement)
XYFocusLeft

取得或設定當使用者按下方向板 (D 鍵) 左鍵時取得焦點的物件。

(繼承來源 Control)
XYFocusLeftNavigationStrategy

取得或設定值,指定用來判斷左側導覽目標元素的策略。

(繼承來源 UIElement)
XYFocusRight

取得或設定當使用者按下方向板 (D 鍵) 右鍵時取得焦點的物件。

(繼承來源 Control)
XYFocusRightNavigationStrategy

取得或設定值,指定用來判斷右導覽之目標元素的策略。

(繼承來源 UIElement)
XYFocusUp

取得或設定當使用者按下方向板 (D 鍵) 時取得焦點的物件。

(繼承來源 Control)
XYFocusUpNavigationStrategy

取得或設定值,指定用來判斷向上瀏覽目標元素的策略。

(繼承來源 UIElement)
ZoomInteractionMode

取得或設定值,這個值表示地圖是否響應縮放手勢,以及對應的UI控件是否出現在地圖上。

ZoomInteractionModeProperty

識別 ZoomInteractionMode 相依性屬性。

ZoomLevel

取得或設定地圖的縮放層級,這是平面檢視仲介於 1 到 20 之間的值。

ZoomLevelProperty

識別 ZoomLevel 相依性屬性。

附加屬性

Location

取得或設定 MapControl 子專案的位置。

NormalizedAnchorPoint

取得或設定 MapControl 子專案的錨點。

方法

AddHandler(RoutedEvent, Object, Boolean)

加入所指定路由事件的路由事件處理常式,會將此處理常式加入目前項目的處理常式集合中。 將 handledEventsToo 指定為 true ,以叫用提供的處理程式,即使事件是在其他地方處理也一樣。

(繼承來源 UIElement)
ApplyTemplate()

載入相關的控制項範本,以便參考其元件。

(繼承來源 Control)
Arrange(Rect)

放置子物件,並決定 UIElement的大小。 為其子項目實作自定義配置的父對象應該從其版面配置覆寫實作呼叫這個方法,以形成遞歸配置更新。

(繼承來源 UIElement)
ArrangeOverride(Size)

提供配置「排列」傳遞的行為。 類別可以覆寫這個方法,以定義自己的「排列」傳遞行為。

(繼承來源 FrameworkElement)
CancelDirectManipulations()

取消任何包含目前 UIElementScrollViewer 父代上 (系統定義的行動瀏覽/縮放) 進行中的直接操作處理。

(繼承來源 UIElement)
CapturePointer(Pointer)

設定 UIElement 的指標擷取。 擷取之後,只有具有擷取的專案會引發指標相關事件。

(繼承來源 UIElement)
ClearValue(DependencyProperty)

清除相依性屬性的本機值。

(繼承來源 DependencyObject)
FindMapElementsAtOffset(Point)

擷取地圖上指定點的 MapElement 物件的集合。

FindMapElementsAtOffset(Point, Double)

擷取指定半徑內的 MapElement 物件集合。

FindName(String)

擷取具有指定標識碼名稱的物件。

(繼承來源 FrameworkElement)
FindSubElementsForTouchTargeting(Point, Rect)

可讓 UIElement 子類別公開可協助解決觸控目標的子專案。

(繼承來源 UIElement)
Focus(FocusState)

嘗試設定控件的焦點。

(繼承來源 Control)
GetAnimationBaseValue(DependencyProperty)

傳回針對相依性屬性所建立的任何基底值,如果動畫未使用中,則會套用。

(繼承來源 DependencyObject)
GetBindingExpression(DependencyProperty)

會傳回代表指定屬性上系結的 BindingExpression

(繼承來源 FrameworkElement)
GetChildrenInTabFocusOrder()

可讓 UIElement 子類別公開參與 Tab 焦點的子專案。

(繼承來源 UIElement)
GetLocation(DependencyObject)

MapControl 的指定子專案取得 MapControl.Location XAML 附加屬性的值。 位置是 MapControl 上的地理位置,其中子元素的 MapControl.NormalizedAnchorPoint 位置。

GetLocationFromOffset(Point, AltitudeReferenceSystem, Geopoint)

使用指定的高度參考系統,將地圖上的點轉換為地理位置。

注意

此方法已被取代。 請改用 TryGetLocationFromOffset 方法。

GetLocationFromOffset(Point, Geopoint)

將地圖上的點轉換成地理位置。

注意

此方法已被取代。 請改用 TryGetLocationFromOffset 方法。

GetNormalizedAnchorPoint(DependencyObject)

MapControl 的指定子專案取得 MapControl.NormalizedAnchorPoint XAML 附加屬性的值。 錨點是位於 MapControl.Location 附加屬性所指定之 MapControl 點之子元素上的點。

GetOffsetFromLocation(Geopoint, Point)

將地理位置轉換成地圖上的點。

GetTemplateChild(String)

擷取具現化 ControlTemplate 視覺化樹狀結構中的具名專案。

(繼承來源 Control)
GetValue(DependencyProperty)

DependencyObject 傳回相依性屬性的目前有效值。

(繼承來源 DependencyObject)
GetVisibleRegion(MapVisibleRegionKind)

取得地圖控件的可見區域。

GoToElementStateCore(String, Boolean)

在衍生類別中實作時,可在程式碼中啟用控件範本的個別狀態建構可視化樹狀結構,而不是在控件啟動時載入所有狀態的 XAML。

(繼承來源 FrameworkElement)
InvalidateArrange()

使 UIElement 的排列狀態 (配置) 失效。 失效之後, UIElement 會更新其版面配置,這會以異步方式發生。

(繼承來源 UIElement)
InvalidateMeasure()

使 UIElement的度量狀態 (配置) 失效。

(繼承來源 UIElement)
InvalidateViewport()

使用來計算有效檢視區的UIElement檢視區狀態失效。

(繼承來源 FrameworkElement)
IsLocationInView(Geopoint, Boolean)

判斷指定的地理位置是否位於 MapControl 中目前可見的地圖部分。

Measure(Size)

匯報 UIElementDesiredSize。 一般而言,針對其版面配置子系實作實作自定義配置的物件,會從自己的 MeasureOverride 實作呼叫這個方法,以形成遞歸版面配置更新。

(繼承來源 UIElement)
MeasureOverride(Size)

提供配置週期的「量值」傳遞行為。 類別可以覆寫這個方法,以定義自己的「量值」傳遞行為。

(繼承來源 FrameworkElement)
OnApplyTemplate()

每當應用程式程式代碼或內部進程 (例如重建版面配置傳遞) 呼叫 ApplyTemplate 時叫用。 簡單來說,這表示方法會在應用程式中顯示UI元素之前呼叫。 覆寫這個方法,以影響類別的預設後置範本邏輯。

(繼承來源 FrameworkElement)
OnBringIntoViewRequested(BringIntoViewRequestedEventArgs)

BringIntoViewRequested 事件發生之前呼叫。

(繼承來源 UIElement)
OnCharacterReceived(CharacterReceivedRoutedEventArgs)

CharacterReceived 事件發生之前呼叫。

(繼承來源 Control)
OnCreateAutomationPeer()

在衍生類別中實作時,會傳回 Microsoft 使用者介面自動化 基礎結構的類別特定 AutomationPeer 實作。

(繼承來源 UIElement)
OnDisconnectVisualChildren()

覆寫這個方法,以實作從類別特定內容或子系屬性移除專案時,配置和邏輯的行為。

(繼承來源 UIElement)
OnDoubleTapped(DoubleTappedRoutedEventArgs)

DoubleTapped 事件發生之前呼叫。

(繼承來源 Control)
OnDragEnter(DragEventArgs)

DragEnter 事件發生之前呼叫。

(繼承來源 Control)
OnDragLeave(DragEventArgs)

DragLeave 事件發生之前呼叫。

(繼承來源 Control)
OnDragOver(DragEventArgs)

DragOver 事件發生之前呼叫。

(繼承來源 Control)
OnDrop(DragEventArgs)

Drop 事件發生之前呼叫。

(繼承來源 Control)
OnGotFocus(RoutedEventArgs)

GotFocus 事件發生之前呼叫。

(繼承來源 Control)
OnHolding(HoldingRoutedEventArgs)

發生 Holding 事件之前呼叫。

(繼承來源 Control)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs)

在應用程式中處理 鍵盤快捷方式 (或快捷鍵) 時呼叫。 覆寫這個方法,以處理叫用鍵盤快捷鍵時應用程式回應的方式。

(繼承來源 UIElement)
OnKeyDown(KeyRoutedEventArgs)

KeyDown 事件發生之前呼叫。

(繼承來源 Control)
OnKeyUp(KeyRoutedEventArgs)

KeyUp 事件發生之前呼叫。

(繼承來源 Control)
OnLostFocus(RoutedEventArgs)

LostFocus 事件發生之前呼叫。

(繼承來源 Control)
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)

ManipulationCompleted 事件發生之前呼叫。

(繼承來源 Control)
OnManipulationDelta(ManipulationDeltaRoutedEventArgs)

ManipulationDelta 事件發生之前呼叫。

(繼承來源 Control)
OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs)

ManipulationInertiaStarting 事件發生之前呼叫。

(繼承來源 Control)
OnManipulationStarted(ManipulationStartedRoutedEventArgs)

ManipulationStarted 事件發生之前呼叫。

(繼承來源 Control)
OnManipulationStarting(ManipulationStartingRoutedEventArgs)

ManipulationStarting 事件發生之前呼叫。

(繼承來源 Control)
OnPointerCanceled(PointerRoutedEventArgs)

PointerCanceled 事件發生之前呼叫。

(繼承來源 Control)
OnPointerCaptureLost(PointerRoutedEventArgs)

PointerCaptureLost 事件發生之前呼叫。

(繼承來源 Control)
OnPointerEntered(PointerRoutedEventArgs)

PointerEntered 事件發生之前呼叫。

(繼承來源 Control)
OnPointerExited(PointerRoutedEventArgs)

PointerExited 事件發生之前呼叫。

(繼承來源 Control)
OnPointerMoved(PointerRoutedEventArgs)

PointerMoved 事件發生之前呼叫。

(繼承來源 Control)
OnPointerPressed(PointerRoutedEventArgs)

PointerPressed 事件發生之前呼叫。

(繼承來源 Control)
OnPointerReleased(PointerRoutedEventArgs)

PointerReleased 事件發生之前呼叫。

(繼承來源 Control)
OnPointerWheelChanged(PointerRoutedEventArgs)

PointerWheelChanged 事件發生之前呼叫。

(繼承來源 Control)
OnPreviewKeyDown(KeyRoutedEventArgs)

PreviewKeyDown 事件發生之前呼叫。

(繼承來源 Control)
OnPreviewKeyUp(KeyRoutedEventArgs)

PreviewKeyUp 事件發生之前呼叫。

(繼承來源 Control)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs)

在應用程式中處理 鍵盤快捷方式 (或快捷鍵) 之前呼叫。 每當應用程式程式代碼或內部進程呼叫 ProcessKeyboardAccelerators 時叫用。 覆寫此方法以影響預設加速器處理。

(繼承來源 UIElement)
OnRightTapped(RightTappedRoutedEventArgs)

RightTapped 事件發生之前呼叫。

(繼承來源 Control)
OnTapped(TappedRoutedEventArgs)

選事件發生之前呼叫。

(繼承來源 Control)
PopulatePropertyInfo(String, AnimationPropertyInfo)

定義可以產生動畫效果的屬性。

(繼承來源 UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo)

在衍生類別中覆寫時,定義可產生動畫效果的屬性。

(繼承來源 UIElement)
ReadLocalValue(DependencyProperty)

如果已設定本機值,則傳回相依性屬性的本機值。

(繼承來源 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

註冊通知函式,以接聽此 DependencyObject 實例上特定 DependencyProperty 的變更。

(繼承來源 DependencyObject)
ReleasePointerCapture(Pointer)

釋放指標擷取,以便透過這個 UIElement擷取一個特定指標。

(繼承來源 UIElement)
ReleasePointerCaptures()

釋放這個專案保留的所有指標擷取。

(繼承來源 UIElement)
RemoveFocusEngagement()

從控件的控件界限釋放焦點,該控件具有遊戲板/遠端互動 () 。

(繼承來源 Control)
RemoveHandler(RoutedEvent, Object)

從這個 UIElement 移除指定的路由事件處理程式。 一般而言,有問題的處理程式是由 AddHandler 所新增。

(繼承來源 UIElement)
SetBinding(DependencyProperty, BindingBase)

使用提供的系結物件,將系結附加至 FrameworkElement

(繼承來源 FrameworkElement)
SetLocation(DependencyObject, Geopoint)

MapControl 的指定子元素上設定 MapControl.Location XAML 附加屬性的值。 位置是 MapControl 上的地理位置,其中子元素的 MapControl.NormalizedAnchorPoint 位置。

SetNormalizedAnchorPoint(DependencyObject, Point)

MapControl 的指定子元素上設定 MapControl.NormalizedAnchorPoint XAML 附加屬性的值。 錨點是位於 MapControl.Location 附加屬性所指定之 MapControl 點之子元素上的點。

SetValue(DependencyProperty, Object)

DependencyObject 上設定相依性屬性的本機值。

(繼承來源 DependencyObject)
StartAnimation(ICompositionAnimationBase)

開始專案上的指定動畫。

(繼承來源 UIElement)
StartBringIntoView()

起始 XAML 架構的要求,以將專案帶入其內含的任何可捲動區域中的檢視。

(繼承來源 UIElement)
StartBringIntoView(BringIntoViewOptions)

使用指定的選項,起始 XAML 架構的要求,以將專案帶入檢視。

(繼承來源 UIElement)
StartContinuousPan(Double, Double)

啟動異步操作,以從地圖的目前位置持續移動流覽。

StartContinuousRotate(Double)

啟動異步操作,以從地圖的目前位置持續旋轉地圖的相機。

StartContinuousTilt(Double)

啟動異步操作,以從地圖的目前位置持續傾斜地圖的相機。

StartContinuousZoom(Double)

啟動異步操作以持續放大,直到達到地圖的最大 ZoomLevel 為止。

StartDragAsync(PointerPoint)

啟始拖放作業。

(繼承來源 UIElement)
StopAnimation(ICompositionAnimationBase)

停止專案上的指定動畫。

(繼承來源 UIElement)
StopContinuousPan()

停止異步操作,以從地圖的目前位置持續移動流覽。

StopContinuousRotate()

停止異步操作,以從地圖的目前位置持續旋轉地圖的相機。

StopContinuousTilt()

停止異步操作,以持續從地圖的目前位置傾斜地圖的相機。

StopContinuousZoom()

停止異步操作以持續放大,直到達到地圖的最大 ZoomLevel 為止。

TransformToVisual(UIElement)

傳回轉換對象,這個物件可用來將 座標從UIElement 轉換成指定的物件。

(繼承來源 UIElement)
TryGetLocationFromOffset(Point, AltitudeReferenceSystem, Geopoint)

使用指定的高度參考系統,將地圖上的點轉換為地理位置。

TryGetLocationFromOffset(Point, Geopoint)

將地圖上的點轉換成地理位置。

TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs)

嘗試搜尋 UIElement 的整個可視化樹狀結構,以叫用 鍵盤快捷方式 (或快捷鍵)

(繼承來源 UIElement)
TryPanAsync(Double, Double)

啟動異步操作,從地圖的目前位置移動流覽。

TryPanToAsync(Geopoint)

啟動異步操作,將地圖移動流覽至特定位置。

TryRotateAsync(Double)

啟動異步操作,以從地圖的目前位置旋轉地圖的相機。

TryRotateToAsync(Double)

啟動異步操作,將地圖的相機旋轉至特定方向。

TrySetSceneAsync(MapScene)

使用指定的場景,設定 MapControl 中顯示的地圖場景。

TrySetSceneAsync(MapScene, MapAnimationKind)

使用指定的場景和動畫,設定 MapControl 中顯示的地圖場景。

TrySetViewAsync(Geopoint)

使用指定的中心設定 MapControl 中顯示的地圖檢視檢視。

TrySetViewAsync(Geopoint, IReference<Double>)

使用指定的中央和縮放層級,設定 MapControl 中顯示的地圖檢視檢視。

TrySetViewAsync(Geopoint, IReference<Double>, IReference<Double>, IReference<Double>)

使用指定的中心、縮放層級、標題和間距,設定 MapControl 中顯示的地圖檢視。

TrySetViewAsync(Geopoint, IReference<Double>, IReference<Double>, IReference<Double>, MapAnimationKind)

使用指定的中心、縮放層級、標題和間距,設定 MapControl 中顯示的地圖檢視。 檢視變更會使用指定的動畫。

TrySetViewBoundsAsync(GeoboundingBox, IReference<Thickness>, MapAnimationKind)

MapControl 中顯示的地圖檢視檢視檢視檢視設定為具有指定邊界的 指定 GeoboundingBox 內容。 檢視變更會使用指定的動畫。

TryTiltAsync(Double)

啟動異步操作,從地圖的目前位置傾斜地圖的相機。

TryTiltToAsync(Double)

啟動異步操作,將地圖的相機傾斜至特定方向。

TryZoomInAsync()

啟動異步操作以放大,將地圖的 ZoomLevel 增加一個。

TryZoomOutAsync()

啟動異步操作以縮小,將地圖的 ZoomLevel 減少一個。

TryZoomToAsync(Double)

啟動異步操作,將地圖縮放至特定的 ZoomLevel

UnregisterPropertyChangedCallback(DependencyProperty, Int64)

取消先前透過呼叫 RegisterPropertyChangedCallback 註冊的變更通知。

(繼承來源 DependencyObject)
UpdateLayout()

確保 UIElement 子物件的所有位置都已針對版面配置正確更新。

(繼承來源 UIElement)

事件

AccessKeyDisplayDismissed

發生於不應再顯示訪問鍵時。

(繼承來源 UIElement)
AccessKeyDisplayRequested

發生於使用者要求顯示存取金鑰時。

(繼承來源 UIElement)
AccessKeyInvoked

發生於使用者完成存取金鑰序列時。

(繼承來源 UIElement)
ActualCameraChanged

發生於地圖相機的目前位置已變更時。

ActualCameraChanging

發生於地圖相機的目前位置變更時。

ActualThemeChanged

發生於 ActualTheme 屬性值已變更時。

(繼承來源 FrameworkElement)
BringIntoViewRequested

在這個專案或其其中一個子系上呼叫 StartBringIntoView 時發生。

(繼承來源 UIElement)
CenterChanged

發生於 MapControlCenter 屬性值變更時。

CharacterReceived

發生於輸入佇列收到單一撰寫字元時。

(繼承來源 UIElement)
ContextCanceled

當內容輸入手勢繼續進入操作手勢時發生,以通知專案不應開啟內容飛出視窗。

(繼承來源 UIElement)
ContextRequested

發生於使用者完成內容輸入手勢時,例如按滑鼠右鍵。

(繼承來源 UIElement)
CustomExperienceChanged

發生於 MapControl 的自定義體驗變更時。

DataContextChanged

發生於 FrameworkElement.DataContext 屬性的值變更時。

(繼承來源 FrameworkElement)
DoubleTapped

發生於此元素的點擊測試區域上發生未處理的 DoubleTap 互動時。

(繼承來源 UIElement)
DragEnter

當輸入系統報告具有這個專案作為目標的基礎拖曳事件時發生。

(繼承來源 UIElement)
DragLeave

當輸入系統報告基礎拖曳事件,並將這個項目當做原點時發生。

(繼承來源 UIElement)
DragOver

在輸入系統回報以此項目作為可能置放目標的基礎拖曳事件時發生。

(繼承來源 UIElement)
DragStarting

發生於起始拖曳作業時。

(繼承來源 UIElement)
Drop

輸入系統報告其下以這個項目作為置放目標的置放事件時發生。

(繼承來源 UIElement)
DropCompleted

發生於以這個專案做為來源結束的拖放作業時。

(繼承來源 UIElement)
EffectiveViewportChanged

發生於 FrameworkElement的有效檢視區 變更時。

(繼承來源 FrameworkElement)
FocusDisengaged

當焦點從遊戲板/遠端互動 () 的控件界限釋放時發生。

(繼承來源 Control)
FocusEngaged

發生於控件界限內限制焦點時, (遊戲板/遠端互動) 。

(繼承來源 Control)
GettingFocus

發生於 UIElement 收到焦點之前。 此事件會同步引發,以確保事件反升時不會移動焦點。

(繼承來源 UIElement)
GotFocus

發生於 UIElement 收到焦點時。 這個事件會以異步方式引發,因此焦點可以在反升完成之前再次移動。

(繼承來源 UIElement)
HeadingChanged

發生於 MapControlHeading 屬性值變更時。

Holding

發生於此元素的點擊測試區域上發生未處理的 保留 互動時。

(繼承來源 UIElement)
IsEnabledChanged

發生於 IsEnabled 屬性變更時。

(繼承來源 Control)
KeyDown

發生於 UIElement 有焦點時按下鍵盤按鍵時。

(繼承來源 UIElement)
KeyUp

發生於 UIElement 有焦點時放開鍵盤按鍵時。

(繼承來源 UIElement)
LayoutUpdated

發生於可視化樹狀結構的版面配置變更時,因為配置相關屬性變更值或重新整理版面配置的其他動作。

(繼承來源 FrameworkElement)
Loaded

發生於 架構Element 已建構並新增至物件樹狀結構,並準備好進行互動時。

(繼承來源 FrameworkElement)
Loading

FrameworkElement 開始載入時發生。

(繼承來源 FrameworkElement)
LoadingStatusChanged

發生於 MapControlLoadingStatus 屬性值變更時。

LosingFocus

發生於 UIElement 失去焦點之前。 此事件會同步引發,以確保事件反升時不會移動焦點。

(繼承來源 UIElement)
LostFocus

發生於 UIElement 失去焦點時。 這個事件會以異步方式引發,因此焦點可以在反升完成之前再次移動。

(繼承來源 UIElement)
ManipulationCompleted

發生於 UIElement 上的操作完成時。

(繼承來源 UIElement)
ManipulationDelta

輸入裝置在操作期間變更位置時發生。

(繼承來源 UIElement)
ManipulationInertiaStarting

在操作和慣性開始的時候,只要輸入裝置不與 UIElement 物件接觸便發生。

(繼承來源 UIElement)
ManipulationStarted

當輸入裝置開始在 UIElement 進行操作時發生。

(繼承來源 UIElement)
ManipulationStarting

發生於第一次建立操作處理器時。

(繼承來源 UIElement)
MapContextRequested

發生於使用者在地圖上完成內容輸入手勢時,例如按鼠右鍵。

MapDoubleTapped

發生於用戶按兩下 MapControl 時。 MapInputEventArgs 的實例會提供此事件的數據。

MapElementClick

發生於用戶點選或按兩下 MapControl 上的 MapElement 時。

MapElementPointerEntered

發生於指標移至 MapControlMapElement 的周框區域時。

MapElementPointerExited

發生於指標移出 MapControlMapElement 的周框區域時。

MapHolding

發生於用戶點選並保留 MapControl 時。 MapInputEventArgs 的實例會提供此事件的數據。

MapRightTapped

當使用者按下 MapControl ,或使用滑鼠右鍵按兩下它時發生。 MapRightTappedEventArgs 的實例會提供此事件的數據。

MapTapped

當用戶點選 MapControl 或按下滑鼠左鍵時發生。 MapInputEventArgs 的實例會提供此事件的數據。

NoFocusCandidateFound

發生於用戶嘗試透過索引標籤或方向箭號移動焦點 () ,但焦點不會移動,因為不會在移動方向找到任何焦點候選專案。

(繼承來源 UIElement)
PitchChanged

發生於 MapControlPitch 屬性值變更時。

PointerCanceled

發生於讓聯繫人異常失去聯繫人的指標時。

(繼承來源 UIElement)
PointerCaptureLost

發生於這個專案先前保留的指標擷取移至另一個專案或其他地方時。

(繼承來源 UIElement)
PointerEntered

發生於指標進入這個項目的點擊測試區域時。

(繼承來源 UIElement)
PointerExited

發生於指標離開這個項目的點擊測試區域時。

(繼承來源 UIElement)
PointerMoved

當指標在指標保留在這個項目的點擊測試區域中時移動時發生。

(繼承來源 UIElement)
PointerPressed

發生於指標裝置在這個專案內起始 Press 動作時。

(繼承來源 UIElement)
PointerReleased

發生於先前起始 按下 動作的指標裝置放開時,同時在此元素內。 請注意, 按下動作的 結尾不保證會引發 PointerReleased 事件;其他事件可能會改為引發。 如需詳細資訊,請參閱。

(繼承來源 UIElement)
PointerWheelChanged

發生於指標滾輪的差異值變更時。

(繼承來源 UIElement)
PreviewKeyDown

UIElement 有焦點時按下鍵盤按鍵時發生。

(繼承來源 UIElement)
PreviewKeyUp

發生於 UIElement 有焦點時放開鍵盤按鍵時。

(繼承來源 UIElement)
ProcessKeyboardAccelerators

發生於按下 鍵盤快捷方式 (或快捷鍵) 時。

(繼承來源 UIElement)
RightTapped

發生於在指標位於 元素上方時發生右鍵輸入回應時。

(繼承來源 UIElement)
SizeChanged

發生於 FrameworkElement 上的 ActualHeightActualWidth 屬性值變更時。

(繼承來源 FrameworkElement)
Tapped

發生於未處理的 選互動發生於這個項目的點擊測試區域。

(繼承來源 UIElement)
TargetCameraChanged

發生於地圖相機的最終位置已變更時。

TransformOriginChanged

發生於 MapControl的 TransformOrigin 屬性值變更時。

Unloaded

當這個物件不再連接到主要物件樹狀結構時發生。

(繼承來源 FrameworkElement)
ZoomLevelChanged

發生於 MapControlZoomLevel 屬性的值變更時。

適用於

另請參閱