Share via


LegendCell.MapAreaAttributes 屬性

定義

取得或設定圖例資料格的對應區域屬性。

public:
 virtual property System::String ^ MapAreaAttributes { System::String ^ get(); void set(System::String ^ value); };
public virtual string MapAreaAttributes { get; set; }
member this.MapAreaAttributes : string with get, set
Public Overridable Property MapAreaAttributes As String

屬性值

String

string 值,表示圖例資料格對應區域的屬性。 預設值為零長度字串。

實作

備註

如果您設定 MapAreaAttributes 屬性,則會自動建立用戶端的影像地圖。 此外也會建立對應區域,並將其屬性字串附加至 <map> 對應至相關圖例資料格的標記。

MapAreaAttributes屬性可以與屬性搭配使用, Url 以指定對應區域屬性,例如 target = _blank,以及用戶端事件處理常式,例如 OnClick = "MyEvent () "。

如果屬性設定為,則設定這個屬性不會有任何作用 IsMapEnabled false 。 預設值是 true

如果 MapAreaAttributes 同時設定了數列和該數列的資料點的屬性,則資料點屬性具有優先權。

設定這個屬性時,可能會使用特殊關鍵字,且每個關鍵字都會取代為適用的圖表專案中的某些類型資料。

適用於