-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
MapAreasCollection.xml
60 lines (53 loc) · 5.25 KB
/
MapAreasCollection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Type Name="MapAreasCollection" FullName="System.Web.UI.DataVisualization.Charting.MapAreasCollection">
<TypeSignature Language="C#" Value="public class MapAreasCollection : System.Web.UI.DataVisualization.Charting.ChartElementCollection<System.Web.UI.DataVisualization.Charting.MapArea>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MapAreasCollection extends System.Web.UI.DataVisualization.Charting.ChartElementCollection`1<class System.Web.UI.DataVisualization.Charting.MapArea>" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.DataVisualization.Charting.MapAreasCollection" />
<TypeSignature Language="VB.NET" Value="Public Class MapAreasCollection
Inherits ChartElementCollection(Of MapArea)" />
<TypeSignature Language="F#" Value="type MapAreasCollection = class
 inherit ChartElementCollection<MapArea>" />
<TypeSignature Language="C++ CLI" Value="public ref class MapAreasCollection : System::Web::UI::DataVisualization::Charting::ChartElementCollection<System::Web::UI::DataVisualization::Charting::MapArea ^>" />
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.UI.DataVisualization.Charting.ChartElementCollection<System.Web.UI.DataVisualization.Charting.MapArea></BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="T">System.Web.UI.DataVisualization.Charting.MapArea</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces />
<Docs>
<summary>Represents a collection of <see cref="T:System.Web.UI.DataVisualization.Charting.MapArea" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.DataVisualization.Charting.MapAreasCollection> class represents a collection of <xref:System.Web.UI.DataVisualization.Charting.MapArea> objects, which in turn represent map areas of a client-side image map, such as HTML \<AREA> tags.
This class is used in two ways:
- As the <xref:System.Web.UI.DataVisualization.Charting.Chart.MapAreas%2A> property of the root <xref:System.Web.UI.DataVisualization.Charting.Chart> object, which is used for custom map areas. These custom map areas have a user-defined shape and coordinates, and can be added at either design time or at run time using the overloaded `M:System.Web.UI.DataVisualization.MapAreasCollection.Add` or `M:System.Web.UI.DataVisualization.MapAreasCollection.Insert` methods.
- In the <xref:System.Web.UI.DataVisualization.Charting.Chart.CustomizeMapAreas> event, as the <xref:System.Web.UI.DataVisualization.Charting.CustomizeMapAreasEventArgs.MapAreaItems%2A> property of the `CustomizeMapAreasEventArgs` parameter. This <xref:System.Web.UI.DataVisualization.Charting.CustomizeMapAreasEventArgs.MapAreaItems%2A> property stores <xref:System.Web.UI.DataVisualization.Charting.MapArea> objects that have automatically been created for a chart object (map areas are automatically created when an applicable chart element, such as a data point, series, legend item or stripline object, has a non-empty `ToolTip`, `Url` or `MapAreaAttributes` property). In this case the dimensions and location of a map area are determined by the chart element. The <xref:System.Web.UI.DataVisualization.Charting.CustomizeMapAreasEventArgs.MapAreaItems%2A> property enables you to delete or modify these automatically generated map areas, and can also be used to add custom map areas.
A client-side image map will only be created at run time if the <xref:System.Web.UI.DataVisualization.Charting.Chart.IsMapEnabled%2A> property of the root <xref:System.Web.UI.DataVisualization.Charting.Chart> object is `true`. This is the default.
> [!IMPORTANT]
> To create an image map using the previously described <xref:System.Web.UI.DataVisualization.Charting.MapArea> objects, the <xref:System.Web.UI.DataVisualization.Charting.Chart.RenderType%2A> property of the <xref:System.Web.UI.DataVisualization.Charting.Chart> object must be set to <xref:System.Web.UI.DataVisualization.Charting.RenderType.ImageTag>. It is possible to create an image map when using binary streaming, but a special technique must be used.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MapAreasCollection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.MapAreasCollection.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 MapAreasCollection();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.DataVisualization.Charting.MapAreasCollection" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>