Share via


MapElement.IsEnabled 属性

定义

指示用户是否可以与 MapElement 交互。

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

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = mapElement.isEnabled;
mapElement.isEnabled = boolean;
Public Property IsEnabled As Boolean

属性值

Boolean

bool

如果用户可以与 MapElement 交互,则为 true;否则为 false

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

适用于