共用方式為


MapControl.TrafficFlowVisible 屬性

定義

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

public:
 property bool TrafficFlowVisible { bool get(); void set(bool value); };
bool TrafficFlowVisible();

void TrafficFlowVisible(bool value);
public bool TrafficFlowVisible { get; set; }
var boolean = mapControl.trafficFlowVisible;
mapControl.trafficFlowVisible = boolean;
Public Property TrafficFlowVisible As Boolean
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl TrafficFlowVisible="trafficFlowVisible"/>
- or -
<Maps:MapControl>
    <Maps:MapControl.TrafficFlowVisible>trafficFlowVisible</Maps:MapControl.TrafficFlowVisible>
</Maps:MapControl>

屬性值

Boolean

bool

如果地圖上顯示交通狀況,則為true;否則為false

適用於

另請參閱