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

适用于

另请参阅